diff --git a/mods/cnc/chrome/ingame.yaml b/mods/cnc/chrome/ingame.yaml index 319b373203..3991268c50 100644 --- a/mods/cnc/chrome/ingame.yaml +++ b/mods/cnc/chrome/ingame.yaml @@ -17,14 +17,6 @@ Container@INGAME_ROOT: Id:STRATEGIC_PROGRESS X: WINDOW_RIGHT/2 Y: 40 - Button@OPTIONS_BUTTON: - Id:OPTIONS_BUTTON - Key:escape - X:5 - Y:5 - Width:140 - Height:35 - Text:Options Button@CHEATS_BUTTON: Id:CHEATS_BUTTON X:150 @@ -93,48 +85,145 @@ Container@INGAME_ROOT: SpecialPowerBin@INGAME_POWERS_BIN: Id:INGAME_POWERS_BIN Y:50 + Background@SIDEBAR_BACKGROUND: + Id:SIDEBAR_BACKGROUND + X:WINDOW_RIGHT - 200 + Y:30 + Width:190 + Height:230 + Background:panel-black + Children: + Button@OPTIONS_BUTTON: + Id:OPTIONS_BUTTON + Key:escape + X:38 + Y:0-24 + Width:35 + Height:25 + Text:Opt + Font:Bold + Button@SELL: + Id:SELL + X:78 + Y:0-24 + Width:35 + Height:25 + Text:$ + Font:Bold + Button@REPAIR: + Id:SELL + X:118 + Y:0-24 + Width:35 + Height:25 + Text:R + Font:Bold + Background@RADAR: + X:19 + Y:11 + Width:152 + Height:152 + Background:panel-gray + Children: + Radar: + Id:INGAME_RADAR_BIN + X:1 + Y:1 + Width:PARENT_RIGHT-2 + Height:PARENT_BOTTOM-2 + WorldInteractionController:INTERACTION_CONTROLLER + Background@POWERBAR: + X:10 + Y:11 + Width:10 + Height:152 + Background:panel-black + Label@POWERICON: + X:10 + Y:170 + Text:P + Font:Bold + Background@SILOBAR: + X:170 + Y:11 + Width:10 + Height:152 + Background:panel-black + Label@SILOICON: + X:171 + Y:170 + Text:T + Font:Bold + Label@CASH: + Y:160 + Width:PARENT_RIGHT + Height:25 + Align:Center + Font:Bold + Text:$5000 + Container@PRODUCTION: + X:10 + Y:190 + Width:170 + Height:30 + Children: + Button@BUILDINGS: + Width:30 + Height:30 + Text: B + Button@DEFENCE: + X:35 + Width:30 + Height:30 + Text: D + Button@INFANTRY: + X:70 + Width:30 + Height:30 + Text: I + Button@VEHICLES: + X:105 + Width:30 + Height:30 + Text: V + Button@AIRCRAFT: + X:140 + Width:30 + Height:30 + Text: H BuildPalette@INGAME_BUILD_PALETTE: Id:INGAME_BUILD_PALETTE X:WINDOW_RIGHT - 250 - Y:280 + Y:600 Width:250 Height:500 TabClick: button.aud BuildPaletteOpen: appear1.aud BuildPaletteClose: appear1.aud - RadarBin@INGAME_RADAR_BIN: - Id:INGAME_RADAR_BIN - WorldInteractionController:INTERACTION_CONTROLLER - PowerBin@INGAME_POWER_BIN: - Id:INGAME_POWER_BIN - MoneyBin@INGAME_MONEY_BIN: - Id:INGAME_MONEY_BIN - X:WINDOW_RIGHT - WIDTH - Y:0 - Width:320 - Height: 32 - SplitOreAndCash: yes - Children: - OrderButton@SELL: - Id:SELL - Logic:OrderButtonsChromeLogic - X:39 - Y:0 - Width:30 - Height:30 - Image:sell - Description:Sell - LongDesc:Sell buildings, reclaiming a \nproportion of their build cost - OrderButton@REPAIR: - Id:REPAIR - Logic:OrderButtonsChromeLogic - X:75 - Y:0 - Width:30 - Height:30 - Image:repair - Description:Repair - LongDesc:Repair damaged buildings +# RadarBin@INGAME_RADAR_BIN: +# Id:INGAME_RADAR_BIN +# WorldInteractionController:INTERACTION_CONTROLLER +# PowerBin@INGAME_POWER_BIN: +# Id:INGAME_POWER_BIN +# MoneyBin@INGAME_MONEY_BIN: +# Id:INGAME_MONEY_BIN +# X:WINDOW_RIGHT - WIDTH +# Y:0 +# Width:320 +# Height: 32 +# SplitOreAndCash: yes +# Children: +# +# OrderButton@REPAIR: +# Id:REPAIR +# Logic:OrderButtonsChromeLogic +# X:75 +# Y:0 +# Width:30 +# Height:30 +# Image:repair +# Description:Repair +# LongDesc:Repair damaged buildings Background@FMVPLAYER: Id:FMVPLAYER Width:WINDOW_RIGHT