Move Game.Controller.HandleInput into a widget; works but is hacky

This commit is contained in:
Paul Chote
2010-07-25 17:45:53 +12:00
parent f61421edd0
commit 2248320af7
10 changed files with 110 additions and 86 deletions

View File

@@ -5,6 +5,11 @@ Container@ROOT:
Delegate:IngameChromeDelegate
Visible:false
Children:
DefaultInputController:
X:0
Y:0
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Timer@GAME_TIMER:
Id:GAME_TIMER
X: WINDOW_RIGHT/2

View File

@@ -40,11 +40,11 @@ Assemblies:
mods/cnc/OpenRA.Mods.Cnc.dll: Cnc mod traits
ChromeLayout:
mods/cnc/chrome/ingame.yaml:
mods/cnc/chrome/mainmenu.yaml:
mods/cnc/chrome/settings.yaml:
mods/cnc/chrome/gamelobby.yaml:
mods/cnc/chrome/serverbrowser.yaml:
mods/cnc/chrome/ingame.yaml:
Weapons:
mods/cnc/weapons.yaml:

View File

@@ -5,6 +5,11 @@ Container@ROOT:
Delegate:IngameChromeDelegate
Visible:false
Children:
DefaultInputController:
X:0
Y:0
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Timer@GAME_TIMER:
Id:GAME_TIMER
X: WINDOW_RIGHT/2

View File

@@ -39,11 +39,11 @@ Assemblies:
mods/ra/OpenRA.Mods.RA.dll: Traits used
ChromeLayout:
mods/ra/chrome/ingame.yaml:
mods/ra/chrome/mainmenu.yaml:
mods/ra/chrome/settings.yaml:
mods/ra/chrome/gamelobby.yaml:
mods/ra/chrome/serverbrowser.yaml:
mods/ra/chrome/ingame.yaml:
Weapons:
mods/ra/weapons.yaml