Files
OpenRA/mods/cnc/chrome/mainmenu.yaml
Paul Chote bc174f1e82 C&C main menu improvements:
- Disable target reticle when a window is open.
- Show the faction logos when the shellmap is disabled.
2013-10-23 19:22:25 +13:00

209 lines
3.9 KiB
YAML

Container@MENU_BACKGROUND:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Logic:CncMenuLogic
Children:
Container@SHELLMAP_DECORATIONS:
Children:
Image@RETICLE:
X:(WINDOW_RIGHT-WIDTH)/2
Y:(WINDOW_BOTTOM-HEIGHT)/2
Width:512
Height:512
ImageCollection:shellmap
ImageName:reticle
Label@REC:
X:(WINDOW_RIGHT-512)/2+10
Y:(WINDOW_BOTTOM+512)/2-28
Height:18
Font:Bold
Text:REC
Image@RECBLOCK:
X:(WINDOW_RIGHT-512)/2+40
Y:(WINDOW_BOTTOM+512)/2-25
Width:16
Height:16
ImageCollection:shellmapbits
ImageName:record
Container@SHELLMAP_DISABLED_DECORATIONS:
Children:
Image@NOD:
X:WINDOW_RIGHT/2-384
Y:(WINDOW_BOTTOM-256)/2
ImageCollection:logos
ImageName:nod-load
Image@GDI:
X:WINDOW_RIGHT/2+128
Y:(WINDOW_BOTTOM-256)/2
ImageCollection:logos
ImageName:gdi-load
Image@EVA:
X:WINDOW_RIGHT-128-43
Y:43
Width:128
Height:64
ImageCollection:logos
ImageName:eva
Label@VERSION_LABEL:
X:WINDOW_RIGHT-128-43
Y:115
Width:128
Align:Center
Contrast:true
Background@BORDER:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Background:shellmapborder
Container@MENUS:
X:(WINDOW_RIGHT-WIDTH)/2
Y:WINDOW_BOTTOM-33-HEIGHT-10
Width:740
Height:35
Children:
Container@MAIN_MENU:
Width:PARENT_RIGHT
Children:
Label@MAINMENU_LABEL_TITLE:
X:0
Y:0-30
Width:PARENT_RIGHT
Height:20
Text:Main Menu
Align:Center
Font:Bold
Contrast:True
Button@SOLO_BUTTON:
X:0
Y:0
Width:140
Height:35
Text:Singleplayer
Button@MULTIPLAYER_BUTTON:
X:150
Y:0
Width:140
Height:35
Text:Multiplayer
Button@SETTINGS_BUTTON:
X:300
Y:0
Width:140
Height:35
Text:Options
Button@MODS_BUTTON:
X:450
Y:0
Width:140
Height:35
Text:Mods
Button@QUIT_BUTTON:
X:600
Y:0
Width:140
Height:35
Text:Quit
Container@MULTIPLAYER_MENU:
Width:PARENT_RIGHT
Visible:false
Children:
Label@MULTIPLAYER_MENU_TITLE:
X:0
Y:0-30
Width:PARENT_RIGHT
Height:20
Text:Multiplayer
Align:Center
Font:Bold
Contrast:True
Button@CREATE_BUTTON:
X:0
Y:0
Width:140
Height:35
Text:Create Server
Button@JOIN_BUTTON:
X:150
Y:0
Width:140
Height:35
Text:Find Server
Button@DIRECTCONNECT_BUTTON:
X:300
Y:0
Width:140
Height:35
Text:Direct Connect
Button@BACK_BUTTON:
Key:escape
X:600
Y:0
Width:140
Height:35
Text:Back
Container@SETTINGS_MENU:
Width:PARENT_RIGHT
Visible:False
Children:
Label@OPTIONS_MENU_TITLE:
X:0
Y:0-30
Width:PARENT_RIGHT
Height:20
Text:Options
Align:Center
Font:Bold
Contrast:True
Button@REPLAYS_BUTTON:
X:0
Y:0
Width:140
Height:35
Text: Replays
Button@MUSIC_BUTTON:
X:150
Y:0
Width:140
Height:35
Text:Music
Button@SETTINGS_BUTTON:
X:300
Y:0
Width:140
Height:35
Text:Settings
Button@CREDITS_BUTTON:
X:450
Y:0
Width:140
Height:35
Text:Credits
Button@BACK_BUTTON:
Key:escape
X:600
Y:0
Width:140
Height:35
Text:Back
Container@PERFORMANCE_INFO:
Logic:PerfDebugLogic
Children:
Label@PERF_TEXT:
X:40
Y:40
Width:170
Height:40
Contrast:true
VAlign:Top
Background@GRAPH_BG:
X:WINDOW_RIGHT-WIDTH-31
Y:31
Width:220
Height:220
Background:panel-black
Children:
PerfGraph@GRAPH:
X:10
Y:10
Width:200
Height:200