Added MusicControllerLogic, now we can handle audio buttons anywhere in the game.

This commit is contained in:
szabkel
2016-04-16 22:40:53 +02:00
parent 189b94f3a0
commit 1b4a42d3d9
12 changed files with 127 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ Container@NEW_MAP_BG:
Width: 300
Height: 125
Children:
Container@MUSICBUTTONS:
Logic: MusicControllerLogic
Children:
LogicKeyListener@MUSICCONTROLLER_KEYHANDLER:
Label@TITLE:
Text: New Map
Width: PARENT_RIGHT

View File

@@ -1,6 +1,10 @@
Container@INGAME_ROOT:
Logic: LoadIngamePlayerOrObserverUILogic
Children:
Container@MUSICBUTTONS:
Logic: MusicControllerLogic
Children:
LogicKeyListener@MUSICCONTROLLER_KEYHANDLER:
Container@WORLD_ROOT:
Logic: LoadIngamePerfLogic
Children:

View File

@@ -3,6 +3,10 @@ Container@MENU_BACKGROUND:
Height: WINDOW_BOTTOM
Logic: CncMainMenuLogic
Children:
Container@MUSICBUTTONS:
Logic: MusicControllerLogic
Children:
LogicKeyListener@MUSICCONTROLLER_KEYHANDLER:
Container@SHELLMAP_DECORATIONS:
Children:
Image@RETICLE: