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:
@@ -14,7 +14,7 @@ Container@CHEATS_PANEL:
|
|||||||
Text:Cheats
|
Text:Cheats
|
||||||
Background@bg:
|
Background@bg:
|
||||||
Width:590
|
Width:590
|
||||||
Height:110
|
Height:140
|
||||||
Background:panel-black
|
Background:panel-black
|
||||||
Children:
|
Children:
|
||||||
Checkbox@INSTANT_BUILD:
|
Checkbox@INSTANT_BUILD:
|
||||||
@@ -71,28 +71,39 @@ Container@CHEATS_PANEL:
|
|||||||
Height:20
|
Height:20
|
||||||
Width:200
|
Width:200
|
||||||
Text:Show A* Cost
|
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:
|
Button@CLOSE:
|
||||||
Key:escape
|
Key:escape
|
||||||
X:0
|
X:0
|
||||||
Y:109
|
Y:139
|
||||||
Width:140
|
Width:140
|
||||||
Height:35
|
Height:35
|
||||||
Text:Close
|
Text:Close
|
||||||
Button@GIVE_CASH:
|
Button@GIVE_CASH:
|
||||||
X:150
|
X:150
|
||||||
Y:109
|
Y:139
|
||||||
Width:140
|
Width:140
|
||||||
Height:35
|
Height:35
|
||||||
Text:Give Cash
|
Text:Give Cash
|
||||||
Button@GIVE_EXPLORATION:
|
Button@GIVE_EXPLORATION:
|
||||||
X:300
|
X:300
|
||||||
Y:109
|
Y:139
|
||||||
Width:140
|
Width:140
|
||||||
Height:35
|
Height:35
|
||||||
Text:Give Exploration
|
Text:Give Exploration
|
||||||
Button@RESET_EXPLORATION:
|
Button@RESET_EXPLORATION:
|
||||||
X:450
|
X:450
|
||||||
Y:109
|
Y:139
|
||||||
Width:140
|
Width:140
|
||||||
Height:35
|
Height:35
|
||||||
Text:Reset Exploration
|
Text:Reset Exploration
|
||||||
@@ -39,18 +39,12 @@ Container@SERVER_LOBBY:
|
|||||||
Height:25
|
Height:25
|
||||||
Font:Bold
|
Font:Bold
|
||||||
Align:Center
|
Align:Center
|
||||||
Checkbox@ALLOWCHEATS_CHECKBOX:
|
|
||||||
X:PARENT_RIGHT-209
|
|
||||||
Y:255
|
|
||||||
Width:130
|
|
||||||
Height:20
|
|
||||||
Text: Allow Cheats
|
|
||||||
ScrollPanel@PLAYERS:
|
ScrollPanel@PLAYERS:
|
||||||
X:15
|
X:15
|
||||||
Y:30
|
Y:30
|
||||||
Width:503
|
Width:503
|
||||||
ItemSpacing:5
|
ItemSpacing:5
|
||||||
Height:245
|
Height:219
|
||||||
Children:
|
Children:
|
||||||
Container@TEMPLATE_EDITABLE_PLAYER:
|
Container@TEMPLATE_EDITABLE_PLAYER:
|
||||||
X:5
|
X:5
|
||||||
@@ -333,6 +327,33 @@ Container@SERVER_LOBBY:
|
|||||||
Text:Ready
|
Text:Ready
|
||||||
Align:Left
|
Align:Left
|
||||||
Font:Bold
|
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:
|
ScrollPanel@CHAT_DISPLAY:
|
||||||
X:15
|
X:15
|
||||||
Y:285
|
Y:285
|
||||||
|
|||||||
Reference in New Issue
Block a user