Compare commits

..

3 Commits

Author SHA1 Message Date
cd41cb3312 Merge branch 'master' of https://git.teletype.hu/games/impostor
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-03-03 23:38:45 +01:00
ecd094e2d7 - makefile:
- added PATTERNS and TRACKS for music
- audio and configuration windows fixed
- there might be some rudimentary music in there
2026-03-03 23:36:51 +01:00
5b4f3052a6 Merge pull request 'well done splash' (#27) from feature/minigame-win-splash into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #27
2026-03-03 19:58:42 +00:00
6 changed files with 29 additions and 19 deletions

8
.vscode/tasks.json vendored
View File

@@ -11,17 +11,19 @@
{ {
"label": "Build & Run TIC80", "label": "Build & Run TIC80",
"type": "shell", "type": "shell",
"command": "make build && tic80 --fs=. impostor.lua" "command": "make build && tic80 --fs=. impostor.lua",
"problemMatcher": []
}, },
{ {
"label": "Export assets", "label": "Export assets",
"type": "shell", "type": "shell",
"command": "make export_assets" "command": "make export_assets",
"problemMatcher": []
}, },
{ {
"label": "Make build", "label": "Make build",
"type": "shell", "type": "shell",
"command": "make build" "command": "make build"
}, }
] ]
} }

View File

@@ -164,6 +164,8 @@ export_assets:
@$(call f_export_asset_awk,MAP,$(OUTPUT),$(ASSETS_LUA)) @$(call f_export_asset_awk,MAP,$(OUTPUT),$(ASSETS_LUA))
@$(call f_export_asset_awk,SFX,$(OUTPUT),$(ASSETS_LUA)) @$(call f_export_asset_awk,SFX,$(OUTPUT),$(ASSETS_LUA))
@$(call f_export_asset_awk,WAVES,$(OUTPUT),$(ASSETS_LUA)) @$(call f_export_asset_awk,WAVES,$(OUTPUT),$(ASSETS_LUA))
@$(call f_export_asset_awk,PATTERNS,$(OUTPUT),$(ASSETS_LUA))
@$(call f_export_asset_awk,TRACKS,$(OUTPUT),$(ASSETS_LUA))
clean: clean:
@rm -f $(PROJECT)-*.tic $(PROJECT)-*.html.zip $(PROJECT)-*-docs.zip $(PROJECT)-docs.zip $(OUTPUT) $(OUTPUT_ORIGINAL) @rm -f $(PROJECT)-*.tic $(PROJECT)-*.html.zip $(PROJECT)-*-docs.zip $(PROJECT)-docs.zip $(OUTPUT) $(OUTPUT_ORIGINAL)

View File

@@ -23,7 +23,7 @@ function Audio.music_play_room_street_2() end
function Audio.music_play_room_() end function Audio.music_play_room_() end
--- Plays room work music. --- Plays room work music.
--- @within Audio --- @within Audio
function Audio.music_play_room_work() end function Audio.music_play_room_work() music(0) end
--- Plays select sound effect. --- Plays select sound effect.
--- @within Audio --- @within Audio

View File

@@ -305,13 +305,15 @@
-- 033:000000010002000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d40000000004 -- 033:000000010002000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d40000000004
-- 044:0600f6000620f6000600f6000610f600f600f6000600f600f600f600f6000600060006000600060006000600060006000600060006000600060006004600000f0f00 -- 044:0600f6000620f6000600f6000610f600f600f6000600f600f600f600f6000600060006000600060006000600060006000600060006000600060006004600000f0f00
-- 045:0000f0000020f0000000f0000010f000f000f0000000f000f000f000f0000000000000000000000000000000000000000000000000000000000000004600000f0f00 -- 045:0000f0000020f0000000f0000010f000f000f0000000f000f000f000f0000000000000000000000000000000000000000000000000000000000000004600000f0f00
-- 057:000000010002000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d40000000004 -- 048:090009000900090009000900090009000900090009000900090009000900090009000900090009000900090009000900090009000900090009000900400000000000
-- 058:41004110410041104100411041004110c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100100000080800 -- 056:4100510061406140717081709100b100c100d100e100e100e100f100f100f100f100f100f100f100f100f100f100f100f100f100f100f100f100f100580000000600
-- 059:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000 -- 057:000000010002000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c40000000004
-- 058:41004110410041104100411041004110c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100c100400000080800
-- 059:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000
-- 060:220022002200820082008200820082008200820082008200820082008200820082008200820082008200820082008200820082008200820082008200100000000000 -- 060:220022002200820082008200820082008200820082008200820082008200820082008200820082008200820082008200820082008200820082008200100000000000
-- 061:9f009f00bf00df00df00ef00ef00ef00ef00ef00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00400000000000 -- 061:9f009f00bf00df00df00ef00ef00ef00ef00ef00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00400000000000
-- 062:00000100010001000100510081008100910091009100a100a100a100a100a100b100b100b100b100c100c100c100d100d100d100e100e100e100f100484000000000 -- 062:00000100010001000100510081008100910091009100a100a100a100a100a100b100b100b100b100c100c100c100d100d100d100e100e100e100f100484000000000
-- 063:00b000100000000000000000100060009000b000c000d000d000e000e000e000f000f000f000f000f000f000f000f000f000f000f000f000f000f000405000000000 -- 063:00b000100000000000000000100060009000b000c000d000d000e000e000e000f000f000f000f000f000f000f000f000f000f000f000f000f000f000200000000000
-- </SFX> -- </SFX>
-- <WAVES> -- <WAVES>
-- 000:bcceefceedddddc84333121268abaa99 -- 000:bcceefceedddddc84333121268abaa99
@@ -325,3 +327,11 @@
-- 008:0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f -- 008:0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f
-- 009:fff000fff000fff000fff000fff000ff -- 009:fff000fff000fff000fff000fff000ff
-- </WAVES> -- </WAVES>
-- <PATTERNS>
-- 000:4008b50000000000000000001008c10000004008b50000001008c1000000000000000000e008b30000004008b50000001008c10000000008c10000000008c10000000000000000000000000000000000000000000000000000000000000000004008b50000000000000000001008c10000004008b50000001008c10000000008c1000000e008b30000004008b50000001008c10000000008c10000000008c10000000008c10000000008c10000000008c1000000000000000000000000000000
-- 001:4008b50000000000000000001008c10000004008b50000001008c1000000000000000000e008b30000004008b50000001008c10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007008b50000007008b50000001008c10000007008b50000001008c10000000008c10000007008b50000009008b50000001008c10000009008b50000001008c10000009008b50000009008b50000001008c10000009008b50000001008c1000000
-- 003:4008d30000000000000000000000000000000000000000004008d90000000000000000000000000000000000000000004008d30000000000000000000000000000004008d30000004008d90000000000000000000000000000000000000000004008d30000000000000000000000000000000000000000004008d90000000000000000000000000000000000000000004008d30000000000000000000000000000004008d30000004008d9000000000000000000000000000000000000000000
-- </PATTERNS>
-- <TRACKS>
-- 000:100001200001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-- </TRACKS>

View File

@@ -1,11 +1,9 @@
--- @section AudioTestWindow --- @section AudioTestWindow
AudioTestWindow = { AudioTestWindow.index_menu = 1
index_menu = 1, AudioTestWindow.index_func = 1
index_func = 1, AudioTestWindow.list_func = {}
list_func = {}, AudioTestWindow.menuitems = {}
menuitems = {}, AudioTestWindow.last_pressed = false
last_pressed = false
}
--- Generates menu items for audio test. --- Generates menu items for audio test.
--- @within AudioTestWindow --- @within AudioTestWindow

View File

@@ -1,8 +1,6 @@
--- @section ConfigurationWindow --- @section ConfigurationWindow
ConfigurationWindow = { ConfigurationWindow.controls = {}
controls = {}, ConfigurationWindow.selected_control = 1
selected_control = 1,
}
--- Initializes configuration window. --- Initializes configuration window.
--- @within ConfigurationWindow --- @within ConfigurationWindow