Merge pull request #2966 from Mailaender/cnc-cheats-crash

Fixes C&C cheats menu crash and adds more buttons to it's lobby
This commit is contained in:
Matthias Mailänder
2013-04-05 02:16:46 -07:00
2 changed files with 44 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ Container@CHEATS_PANEL:
Text:Cheats
Background@bg:
Width:590
Height:110
Height:140
Background:panel-black
Children:
Checkbox@INSTANT_BUILD:
@@ -71,28 +71,39 @@ Container@CHEATS_PANEL:
Height:20
Width:200
Text:Show A* Cost
Checkbox@DESYNC_ARMED:
X:400
Y:105
Width:20
Height:20
Button@DESYNC:
X:430
Y:100
Width:120
Height:25
Text: Force Desync
Button@CLOSE:
Key:escape
X:0
Y:109
Y:139
Width:140
Height:35
Text:Close
Button@GIVE_CASH:
X:150
Y:109
Y:139
Width:140
Height:35
Text:Give Cash
Button@GIVE_EXPLORATION:
X:300
Y:109
Y:139
Width:140
Height:35
Text:Give Exploration
Button@RESET_EXPLORATION:
X:450
Y:109
Y:139
Width:140
Height:35
Text:Reset Exploration

View File

@@ -39,18 +39,12 @@ Container@SERVER_LOBBY:
Height:25
Font:Bold
Align:Center
Checkbox@ALLOWCHEATS_CHECKBOX:
X:PARENT_RIGHT-209
Y:255
Width:130
Height:20
Text: Allow Cheats
ScrollPanel@PLAYERS:
X:15
Y:30
Width:503
ItemSpacing:5
Height:245
Height:219
Children:
Container@TEMPLATE_EDITABLE_PLAYER:
X:5
@@ -333,6 +327,33 @@ Container@SERVER_LOBBY:
Text:Ready
Align:Left
Font:Bold
Checkbox@ALLOWCHEATS_CHECKBOX:
X:15
Y:255
Width:130
Height:20
Text: Allow Cheats
Checkbox@CRATES_CHECKBOX:
X:160
Y:255
Width:80
Height:20
Text: Crates
DropDownButton@ASSIGNTEAMS_DROPDOWNBUTTON:
X:399
Y:255
Width:120
Height:25
Font:Bold
Visible:false
Text:Assign
Button@RANDOMMAP_BUTTON:
X:PARENT_RIGHT-120-15-40
Y:255
Width:120
Height:25
Text:Random Map
Font:Bold
ScrollPanel@CHAT_DISPLAY:
X:15
Y:285