window.register.lua
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-02-22 21:26:59 +01:00
parent 7e87a78a15
commit 14b14ffc0c
3 changed files with 30 additions and 21 deletions

View File

@@ -41,24 +41,3 @@ function Window.get_current_handler()
return function() trace("Error: No handler for window: " .. tostring(Context.current_window)) end
end
end
SplashWindow = {}
IntroWindow = {}
MenuWindow = {}
GameWindow = {}
PopupWindow = {}
ConfigurationWindow = {}
AudioTestWindow = {}
MinigameButtonMashWindow = {}
MinigameRhythmWindow = {}
MinigameDDRWindow = {}
-- Registration of all window modules
Window.register("splash", SplashWindow)
Window.register("intro", IntroWindow)
Window.register("menu", MenuWindow)
Window.register("game", GameWindow)
Window.register("popup", PopupWindow)
Window.register("configuration", ConfigurationWindow)
Window.register("audiotest", AudioTestWindow)
Window.register("minigame_button_mash", MinigameButtonMashWindow)
Window.register("minigame_rhythm", MinigameRhythmWindow)
Window.register("minigame_ddr", MinigameDDRWindow)