window.register.lua
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -34,6 +34,7 @@ screen/screen.walking_to_office.lua
|
|||||||
screen/screen.office.lua
|
screen/screen.office.lua
|
||||||
screen/screen.walking_to_home.lua
|
screen/screen.walking_to_home.lua
|
||||||
window/window.manager.lua
|
window/window.manager.lua
|
||||||
|
window/window.register.lua
|
||||||
window/window.splash.lua
|
window/window.splash.lua
|
||||||
window/window.intro.lua
|
window/window.intro.lua
|
||||||
window/window.menu.lua
|
window/window.menu.lua
|
||||||
|
|||||||
@@ -41,24 +41,3 @@ function Window.get_current_handler()
|
|||||||
return function() trace("Error: No handler for window: " .. tostring(Context.current_window)) end
|
return function() trace("Error: No handler for window: " .. tostring(Context.current_window)) end
|
||||||
end
|
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)
|
|
||||||
|
|||||||
29
inc/window/window.register.lua
Normal file
29
inc/window/window.register.lua
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
SplashWindow = {}
|
||||||
|
Window.register("splash", SplashWindow)
|
||||||
|
|
||||||
|
IntroWindow = {}
|
||||||
|
Window.register("intro", IntroWindow)
|
||||||
|
|
||||||
|
MenuWindow = {}
|
||||||
|
Window.register("menu", MenuWindow)
|
||||||
|
|
||||||
|
GameWindow = {}
|
||||||
|
Window.register("game", GameWindow)
|
||||||
|
|
||||||
|
PopupWindow = {}
|
||||||
|
Window.register("popup", PopupWindow)
|
||||||
|
|
||||||
|
ConfigurationWindow = {}
|
||||||
|
Window.register("configuration", ConfigurationWindow)
|
||||||
|
|
||||||
|
AudioTestWindow = {}
|
||||||
|
Window.register("audiotest", AudioTestWindow)
|
||||||
|
|
||||||
|
MinigameButtonMashWindow = {}
|
||||||
|
Window.register("minigame_button_mash", MinigameButtonMashWindow)
|
||||||
|
|
||||||
|
MinigameRhythmWindow = {}
|
||||||
|
Window.register("minigame_rhythm", MinigameRhythmWindow)
|
||||||
|
|
||||||
|
MinigameDDRWindow = {}
|
||||||
|
Window.register("minigame_ddr", MinigameDDRWindow)
|
||||||
Reference in New Issue
Block a user