Unify cheats -> debug and adjust plumbing for new RA UI.

This commit is contained in:
Paul Chote
2014-07-17 13:54:30 +12:00
parent e7ae615ac9
commit 9e2b3ce0b8
14 changed files with 43 additions and 24 deletions

View File

@@ -1,17 +1,16 @@
Background@CHEATS_PANEL:
Logic: CheatsLogic
Background@INGAME_DEBUG_BG:
Logic: DebugMenuLogic
X: (WINDOW_RIGHT - WIDTH)/2
Y: (WINDOW_BOTTOM - HEIGHT)/2
Width: 350
Height: 475
Visible: false
Children:
Label@LABEL_TITLE:
X: (PARENT_RIGHT - WIDTH)/2
Y: 20
Width: 250
Height: 25
Text: Cheats
Text: Debug Options
Align: Center
Font: Bold
Checkbox@DISABLE_SHROUD:
@@ -107,4 +106,5 @@ Background@CHEATS_PANEL:
Height: 25
Text: Close
Key: escape
Font: Bold

View File

@@ -11,12 +11,12 @@ Container@PLAYER_WIDGETS:
Text: Diplomacy (F1)
Font: Bold
Key: f1
Button@CHEATS_BUTTON:
Button@INGAME_DEBUG_BUTTON:
X: 324
Y: 0
Width: 160
Height: 25
Text: Cheats (F2)
Text: Debug (F2)
Visible: false
Font: Bold
Key: f2

View File

@@ -79,6 +79,7 @@ ChromeLayout:
mods/ra/chrome/ingame-observer.yaml
mods/ra/chrome/ingame-observerstats.yaml
mods/ra/chrome/ingame-player.yaml
mods/ra/chrome/ingame-debug.yaml
mods/ra/chrome/mainmenu.yaml
mods/ra/chrome/settings.yaml
mods/ra/chrome/credits.yaml
@@ -94,7 +95,6 @@ ChromeLayout:
mods/ra/chrome/directconnect.yaml
mods/ra/chrome/replaybrowser.yaml
mods/ra/chrome/dropdowns.yaml
mods/ra/chrome/cheats.yaml
mods/ra/chrome/musicplayer.yaml
mods/ra/chrome/tooltips.yaml
mods/ra/chrome/assetbrowser.yaml