Remove diplomacy menu, lock teams option (Feature #950).

This commit is contained in:
Paul Chote
2011-07-01 23:19:50 +12:00
parent fa6b9983d3
commit 3dec6016e7
8 changed files with 3 additions and 203 deletions

View File

@@ -1,89 +0,0 @@
Container@DIPLOMACY_PANEL:
Id:DIPLOMACY_PANEL
Logic:CncDiplomacyLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 400)/2
Width:450
Height:335
Children:
Label@TITLE:
Width:PARENT_RIGHT
Y:0-25
Font:BigBold
Contrast:true
Align:Center
Text:Diplomacy
Background@bg:
Width:450
Height:300
Background:panel-black
Children:
ScrollPanel@PLAYER_LIST:
Id:PLAYER_LIST
X:15
Y:30
Width:420
Height:255
ItemSpacing:5
Children:
Container@PLAYER_TEMPLATE:
Id:PLAYER_TEMPLATE
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Children:
Label@NAME:
Id:NAME
X:10
Width:150
Height:25
Image@FACTIONFLAG:
Id:FACTIONFLAG
X:PARENT_RIGHT-210
Y:5
Width:30
Height:15
Label@FACTION:
Id:FACTION
X:PARENT_RIGHT-170
Width:40
Height:25
DropDownButton@STANCE:
Id:STANCE
X:PARENT_RIGHT-110
Width:100
Height:25
Container@LABEL_CONTAINER:
X:17
Y:5
Width:393
Children:
Label@NAME:
X:10
Width:150
Height:25
Text:Player
Align:Center
Font:Bold
Label@RACE:
X:PARENT_RIGHT-220
Width:100
Height:25
Text:Faction
Font:Bold
Align:Center
Label@STANCE:
X:PARENT_RIGHT-110
Width:100
Height:25
Text:Stance
Font:Bold
Align:Center
Button@BACK_BUTTON:
Id:BACK_BUTTON
Key:escape
Y:299
Width:140
Height:35
Text:Back

View File

@@ -25,16 +25,9 @@ Container@INGAME_ROOT:
Width:140
Height:35
Text:Options
Button@DIPLOMACY_BUTTON:
Id:DIPLOMACY_BUTTON
X:150
Y:5
Width:140
Height:35
Text:Diplomacy
Button@CHEATS_BUTTON:
Id:CHEATS_BUTTON
X:295
X:150
Y:5
Width:140
Height:35

View File

@@ -31,13 +31,6 @@ Container@SERVER_LOBBY:
Y:1
Width:192
Height:192
Checkbox@LOCKTEAMS_CHECKBOX:
Id:LOCKTEAMS_CHECKBOX
X:PARENT_RIGHT-209
Y:230
Width:130
Height:20
Text: Lock Teams
Checkbox@ALLOWCHEATS_CHECKBOX:
Id:ALLOWCHEATS_CHECKBOX
X:PARENT_RIGHT-209

View File

@@ -79,7 +79,6 @@ ChromeLayout:
mods/cnc/chrome/modchooser.yaml
mods/cnc/chrome/preferences.yaml
mods/cnc/chrome/cheats.yaml
mods/cnc/chrome/diplomacy.yaml
mods/cnc/chrome/dropdowns.yaml
mods/cnc/chrome/objectives.yaml