Compare commits
3 Commits
feature/co
...
feature/ot
| Author | SHA1 | Date | |
|---|---|---|---|
| 272a54ea87 | |||
| 14b14ffc0c | |||
| 7e87a78a15 |
@@ -34,6 +34,7 @@ screen/screen.walking_to_office.lua
|
||||
screen/screen.office.lua
|
||||
screen/screen.walking_to_home.lua
|
||||
window/window.manager.lua
|
||||
window/window.register.lua
|
||||
window/window.splash.lua
|
||||
window/window.intro.lua
|
||||
window/window.menu.lua
|
||||
|
||||
@@ -7,11 +7,11 @@ function Config.initial_data()
|
||||
height = 136
|
||||
},
|
||||
colors = {
|
||||
black = 0,
|
||||
black = 2,
|
||||
light_grey = 13,
|
||||
dark_grey = 14,
|
||||
red = 2,
|
||||
green = 6,
|
||||
red = 0,
|
||||
green = 7,
|
||||
blue = 9,
|
||||
white = 12,
|
||||
item = 12,
|
||||
|
||||
@@ -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)
|
||||
|
||||
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