Merge pull request #10650 from pchote/remove-fragile-diplomacy

Remove fragile diplomacy.
This commit is contained in:
Oliver Brakmann
2016-02-06 22:55:55 +01:00
24 changed files with 92 additions and 451 deletions

View File

@@ -1,91 +0,0 @@
Background@INGAME_DIPLOMACY_BG:
Logic: DiplomacyLogic
X: (WINDOW_RIGHT - WIDTH)/2
Y: (WINDOW_BOTTOM - HEIGHT)/2
Width: 490
Height: 355
Children:
Label@LABEL_TITLE:
X: (PARENT_RIGHT - WIDTH)/2
Y: 17
Width: 250
Height: 20
Text: Diplomacy
Align: Center
Font: Bold
Container@DIPLOMACY_HEADERS:
X: 20
Y: 40
Width: PARENT_RIGHT-40
Height: PARENT_BOTTOM
Children:
Label@PLAYER_HEADER:
X: 20
Width: 160
Height: 25
Font: Bold
Text: Player
Label@THEIR_STANCE_HEADER:
X: 210
Width: 80
Height: 25
Font: Bold
Text: Their Stance
Align: Center
Label@MY_STANCE_HEADER:
X: 307
Width: 100
Height: 25
Font: Bold
Text: My Stance
Align: Center
ScrollPanel@DIPLOMACY_PANEL:
X: 20
Y: 67
Width: PARENT_RIGHT-40
Height: PARENT_BOTTOM-87-35
TopBottomSpacing: 5
ItemSpacing: 5
Children:
ScrollItem@TEAM_TEMPLATE:
Width: PARENT_RIGHT
Height: 25
Children:
Label@TEAM:
X: 10
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Font: Bold
ScrollItem@PLAYER_TEMPLATE:
Width: PARENT_RIGHT-35
Height: 25
Children:
Image@FLAG:
X: 20
Y: 5
Width: 35
Height: PARENT_BOTTOM-5
ImageName: random
ImageCollection: flags
Label@PLAYER:
X: 55
Width: 160
Height: PARENT_BOTTOM
Font: Bold
Label@THEIR_STANCE:
X: 210
Width: 80
Height: PARENT_BOTTOM
Align: Center
DropDownButton@MY_STANCE:
X: 307
Width: 100
Height: PARENT_BOTTOM
Button@CLOSE:
X: PARENT_RIGHT-145
Y: PARENT_BOTTOM - 45
Width: 120
Height: 25
Text: Close
Key: escape
Font: Bold

View File

@@ -115,25 +115,6 @@ Container@PLAYER_WIDGETS:
Y: 6
ImageCollection: order-icons
ImageName: debug
MenuButton@DIPLOMACY_BUTTON:
Logic: AddFactionSuffixLogic
MenuContainer: INGAME_DIPLOMACY_BG
HideIngameUI: false
Pause: false
Key: P
X: 160
Width: 28
Height: 28
Background: sidebar-button
TooltipText: Diplomacy
TooltipContainer: TOOLTIP_CONTAINER
VisualHeight: 0
Children:
Image@ICON:
X: 6
Y: 6
ImageCollection: order-icons
ImageName: diplomacy
MenuButton@OPTIONS_BUTTON:
Logic: AddFactionSuffixLogic
Key: escape

View File

@@ -18,39 +18,34 @@ Background@LOBBY_OPTIONS_BIN:
Height: PARENT_BOTTOM-75
Children:
Checkbox@EXPLORED_MAP_CHECKBOX:
Width: 140
Width: 150
Height: 20
Text: Explored Map
Checkbox@FOG_CHECKBOX:
Y: 35
Width: 140
Width: 150
Height: 20
Text: Fog of War
Checkbox@SHORTGAME_CHECKBOX:
X: 150
Width: 140
Height: 20
Text: Short Game
Checkbox@CRATES_CHECKBOX:
X: 150
Y: 35
Width: 140
X: 170
Width: 225
Height: 20
Text: Crates
Checkbox@ALLYBUILDRADIUS_CHECKBOX:
X: 290
Width: 140
X: 170
Y: 35
Width: 225
Height: 20
Text: Build off Allies' ConYards
Checkbox@FRAGILEALLIANCES_CHECKBOX:
X: 290
Y: 35
Width: 140
Checkbox@SHORTGAME_CHECKBOX:
X: 400
Width: 150
Height: 20
Text: Diplomacy Changes
Text: Short Game
Checkbox@ALLOWCHEATS_CHECKBOX:
Y: 70
Width: 140
X: 400
Y: 35
Width: 150
Height: 20
Text: Debug Menu
Label@DIFFICULTY_DESC: