work for ra too

This commit is contained in:
Chris Forbes
2010-08-24 17:24:11 +12:00
parent 997501bb12
commit 7c6edab04e

View File

@@ -1,472 +1,518 @@
Background@SERVER_LOBBY: Container@ROOT:
Id:SERVER_LOBBY
Delegate:LobbyDelegate
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:800
Height:600
Visible:false
Children: Children:
Label@LOBBY_TITLE: Background@SERVER_LOBBY:
X:0 Id:SERVER_LOBBY
Y:20 Delegate:LobbyDelegate
Align:Center X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:800 Width:800
Height:20 Height:600
Bold:True Visible:false
Text:OpenRA Multiplayer Lobby
Background@LOBBY_MAP_BG:
X:PARENT_RIGHT-268
Y:39
Width:252
Height:252
Background:dialog3
Children: Children:
MapPreview@LOBBY_MAP_PREVIEW: Label@LOBBY_TITLE:
Id:LOBBY_MAP_PREVIEW
X:4
Y:4
Width:244
Height:244
Container@PLAYERS:
Id:PLAYERS
X:30
Y:75
Width:500
Height:200
Children:
Container@TEMPLATE_LOCAL:
Id:TEMPLATE_LOCAL
X:0 X:0
Y:0 Y:20
Width:500 Align:Center
Height:30 Width:800
Visible:false Height:20
Bold:True
Text:OpenRA Multiplayer Lobby
Background@LOBBY_MAP_BG:
X:PARENT_RIGHT-268
Y:39
Width:252
Height:252
Background:dialog3
Children: Children:
TextField@NAME: MapPreview@LOBBY_MAP_PREVIEW:
Id:NAME Id:LOBBY_MAP_PREVIEW
Text:Name X:4
Y:4
Width:244
Height:244
Container@PLAYERS:
Id:PLAYERS
X:20
Y:75
Width:500
Height:200
Children:
Container@TEMPLATE_LOCAL:
Id:TEMPLATE_LOCAL
X:0
Y:0
Width:500
Height:30
Visible:false
Children:
TextField@NAME:
Id:NAME
Text:Name
Width:139
Height:25
X:0
Y:0
MaxLength:16
Button@COLOR:
Id:COLOR
Width:65
Height:25
X:159
Y:0
Children:
ColorBlock@COLORBLOCK:
Id:COLORBLOCK
X:5
Y:7
Width:PARENT_RIGHT-10
Height:PARENT_BOTTOM-12
Button@FACTION:
Id:FACTION
Width:110
Height:25
X:244
Y:0
Children:
Image@FACTIONFLAG:
Id:FACTIONFLAG
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Id:FACTIONNAME
Text:Faction
Width:60
Height:25
X:40
Y:0
Button@TEAM:
Id:TEAM
Text:Team
Width:25
Height:25
X:374
Y:0
Checkbox@STATUS:
Id:STATUS
X:455
Y:2
Width:20
Height:20
Container@TEMPLATE_REMOTE:
Id:TEMPLATE_REMOTE
X:0
Y:0
Width:500
Height:30
Visible:false
Children:
Label@NAME:
Id:NAME
Text:Name
Width:139
Height:25
X:0
Y:0
ColorBlock@COLOR:
Id:COLOR
X:164
Y:7
Width:55
Height:13
Label@FACTION:
Id:FACTION
Width:110
Height:25
X:244
Y:0
Children:
Image@FACTIONFLAG:
Id:FACTIONFLAG
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Id:FACTIONNAME
Text:Faction
Width:60
Height:25
X:40
Y:0
Label@TEAM:
Id:TEAM
Text:Team
Width:70
Height:25
X:351
Y:0
Align:Center
Bold: false
Checkbox@STATUS:
Id:STATUS
X:455
Y:2
Width:20
Height:20
Container@TEMPLATE_EMPTY:
Id:TEMPLATE_EMPTY
X:0
Y:0
Width:500
Height:30
Visible:false
Children:
Label@NAME:
Id:NAME
Text:Name
Width:139
Height:25
X:0
Y:0
Button@JOIN:
Id:JOIN
Text:Play in this slot
Width:PARENT_RIGHT - 160
Height:25
X:160
Y:0
Container@TEMPLATE_EMPTY_HOST:
Id:TEMPLATE_EMPTY_HOST
X:0
Y:0
Width:500
Height:30
Visible:false
Children:
Button@NAME: -- TODO: replace with dropdown
Id:NAME
Text:Name
Width:155
Height:25
X:0
Y:0
Button@JOIN:
Id:JOIN
Text:Play in this slot
Width:PARENT_RIGHT - 160
Height:25
X:160
Y:0
Container@LABEL_CONTAINER:
X:30
Y:45
Children:
Label@LABEL_LOBBY_NAME:
Id:LABEL_LOBBY_NAME
Width:139 Width:139
Height:25 Height:25
X:0 X:0
Y:0 Y:0
MaxLength:16 Text:Name
Button@COLOR: Align:Center
Id:COLOR Bold:True
Label@LABEL_LOBBY_COLOR:
Id:LABEL_LOBBY_COLOR
Width:65 Width:65
Height:25 Height:25
X:159 X:159
Y:0 Y:0
Children: Text:Color
ColorBlock@COLORBLOCK: Align:Center
Id:COLORBLOCK Bold:True
X:5 Label@LABEL_LOBBY_FACTION:
Y:7 Id:LABEL_LOBBY_FACTION
Width:PARENT_RIGHT-10
Height:PARENT_BOTTOM-12
Button@FACTION:
Id:FACTION
Width:110 Width:110
Height:25 Height:25
X:244 X:244
Y:0 Y:0
Children: Text:Faction
Image@FACTIONFLAG: Align:Center
Id:FACTIONFLAG Bold:True
Width:30 Label@LABEL_LOBBY_TEAM:
Height:15 Id:LABEL_LOBBY_TEAM
X:5
Y:5
Label@FACTIONNAME:
Id:FACTIONNAME
Text:Faction
Width:60
Height:25
X:40
Y:0
Button@TEAM:
Id:TEAM
Text:Team
Width:25
Height:25
X:374
Y:0
Checkbox@STATUS:
Id:STATUS
X:455
Y:2
Width:20
Height:20
Container@TEMPLATE_REMOTE:
Id:TEMPLATE_REMOTE
X:0
Y:0
Width:500
Height:30
Visible:false
Children:
Label@NAME:
Id:NAME
Text:Name
Width:139
Height:25
X:0
Y:0
ColorBlock@COLOR:
Id:COLOR
X:164
Y:7
Width:55
Height:13
Label@FACTION:
Id:FACTION
Width:110
Height:25
X:244
Y:0
Children:
Image@FACTIONFLAG:
Id:FACTIONFLAG
Width:30
Height:15
X:5
Y:5
Label@FACTIONNAME:
Id:FACTIONNAME
Text:Faction
Width:60
Height:25
X:40
Y:0
Label@TEAM:
Id:TEAM
Text:Team
Width:70 Width:70
Height:25 Height:25
X:351 X:351
Y:0 Y:0
Text:Team
Align:Center Align:Center
Bold: false Bold:True
Checkbox@STATUS: Label@LABEL_LOBBY_STATUS:
Id:STATUS Id:LABEL_LOBBY_STATUS
X:455 X:432
Y:2 Y:0
Width:20 Width:70
Height:20 Height:25
Container@LABEL_CONTAINER: Text:Ready
X:30 Align:Center
Y:45 Bold:True
Children: Button@CHANGEMAP_BUTTON:
Label@LABEL_LOBBY_NAME: Id:CHANGEMAP_BUTTON
Id:LABEL_LOBBY_NAME Visible:true
Width:139 X:PARENT_RIGHT-160
Y:PARENT_BOTTOM-269
Width:120
Height:25 Height:25
X:0 Text:Change Map
Y:0
Text:Name
Align:Center
Bold:True Bold:True
Label@LABEL_LOBBY_COLOR: ChatDisplay@CHAT_DISPLAY:
Id:LABEL_LOBBY_COLOR Id:CHAT_DISPLAY
Visible:true
X:20
Notification: beepy2.aud
Height:230
Y:PARENT_BOTTOM - 289
Width:PARENT_RIGHT - 200
Label@LABEL_CHATTYPE:
Id:LABEL_CHATTYPE
Width:65 Width:65
Height:25 Height:25
X:159 X:0
Y:0 Y:PARENT_BOTTOM - 50
Text:Color Text:Chat:
Align:Center Align:Right
Bold:True TextField@CHAT_TEXTFIELD:
Label@LABEL_LOBBY_FACTION: Id:CHAT_TEXTFIELD
Id:LABEL_LOBBY_FACTION Visible:true
Width:110 X:70
Y:PARENT_BOTTOM - 49
Width:550
Height:25 Height:25
X:244 Button@START_GAME_BUTTON:
Y:0 Id:START_GAME_BUTTON
Text:Faction Visible:true
Align:Center X:PARENT_RIGHT-160
Bold:True Y:PARENT_BOTTOM-49
Label@LABEL_LOBBY_TEAM: Width:120
Id:LABEL_LOBBY_TEAM
Width:70
Height:25 Height:25
X:351 Text:Start Game
Y:0
Text:Team
Align:Center
Bold:True Bold:True
Label@LABEL_LOBBY_STATUS: Button@DISCONNECT_BUTTON:
Id:LABEL_LOBBY_STATUS Id:DISCONNECT_BUTTON
X:432 Visible:true
Y:0 X:PARENT_RIGHT-160
Width:70 Y:PARENT_BOTTOM-189
Width:120
Height:25 Height:25
Text:Ready Text:Disconnect
Align:Center
Bold:True Bold:True
Button@CHANGEMAP_BUTTON: Checkbox@LOCKTEAMS_CHECKBOX:
Id:CHANGEMAP_BUTTON Id:LOCKTEAMS_CHECKBOX
Visible:true Visible: true
X:PARENT_RIGHT-160 X: PARENT_RIGHT-160
Y:PARENT_BOTTOM-269 Y: PARENT_BOTTOM-229
Width:120 Width: 80
Height:25 Height: 20
Text:Change Map Text: Lock Teams
Bold:True Background@COLOR_CHOOSER:
ChatDisplay@CHAT_DISPLAY: Id:COLOR_CHOOSER
Id:CHAT_DISPLAY Width:500
Visible:true Height:195
X:20 X:(WINDOW_RIGHT - WIDTH)/2 - PARENT_LEFT
Height:230 Y:100
Y:PARENT_BOTTOM - 289 Visible:false
Width:PARENT_RIGHT - 200 Children:
Notification: rabeep1.aud Button@BUTTON_OK:
Label@LABEL_CHATTYPE: Id:BUTTON_OK
Id:LABEL_CHATTYPE X:PARENT_RIGHT - 180
Width:65 Y:PARENT_BOTTOM - 45
Height:25 Width:160
X:0 Height:25
Y:PARENT_BOTTOM - 50 Text:Ok
Text:Chat: Bold:True
Align:Right ShpImage@MCV:
TextField@CHAT_TEXTFIELD: Id:MCV
Id:CHAT_TEXTFIELD X:PARENT_RIGHT - 90
Visible:true Y:20
X:70 Image:mcv
Y:PARENT_BOTTOM - 49 Frame:8
Width:550 Palette:colorpicker
Height:25 ShpImage@FACT:
Button@START_GAME_BUTTON: Id:FACT
Id:START_GAME_BUTTON X:PARENT_RIGHT - 100
Visible:true Y:70
X:PARENT_RIGHT-160 Image:fact
Y:PARENT_BOTTOM-49 Palette:colorpicker
Width:120 Label@HUE_LABEL:
Height:25 X:0
Text:Start Game Y:30
Bold:True Width:110
Button@DISCONNECT_BUTTON: Height:20
Id:DISCONNECT_BUTTON Align: Right
Visible:true Text: Hue:
X:PARENT_RIGHT-160 Slider@HUE:
Y:PARENT_BOTTOM-189 Id:HUE_SLIDER
Width:120 X:120
Height:25 Y:30
Text:Disconnect Width:260
Bold:True Height:20
Checkbox@LOCKTEAMS_CHECKBOX: Ticks:5
Id:LOCKTEAMS_CHECKBOX Label@SAT_LABEL:
Visible: true X:0
X: PARENT_RIGHT-160 Y:60
Y: PARENT_BOTTOM-229 Width:110
Width: 80 Height:20
Height: 20 Align: Right
Text: Lock Teams Text: Saturation:
Background@COLOR_CHOOSER: Slider@SAT:
Id:COLOR_CHOOSER Id:SAT_SLIDER
Width:500 X:120
Height:195 Y:60
X:(WINDOW_RIGHT - WIDTH)/2 - PARENT_LEFT Width:260
Y:100 Height:20
Ticks:5
Label@LUM_LABEL:
X:0
Y:90
Width:110
Height:20
Align: Right
Text: Brightness:
Slider@LUM:
Id:LUM_SLIDER
X:120
Y:90
Width:260
Height:20
Ticks:5
Label@RANGE_LABEL:
X:0
Y:120
Width:110
Height:20
Align: Right
Text: Range:
Slider@RANGE:
Id:RANGE_SLIDER
X:120
Y:120
Width:260
Height:20
Ticks:5
Background@MAP_CHOOSER:
Id:MAP_CHOOSER
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Delegate:MapChooserDelegate
Width:800
Height:600
Visible:false Visible:false
Children: Children:
Label@MAPCHOOSER_TITLE:
X:0
Y:20
Align:Center
Width:800
Height:20
Text:Choose Map
Bold:True
ListBox@MAP_LIST:
Id:MAP_LIST
X:20
Y:50
Width:500
Height:480
Children:
Label@MAP_TEMPLATE:
Id:MAP_TEMPLATE
Width:PARENT_RIGHT-28
Height:25
ClickThrough:false
X:2
Y:0
Visible:false
Background@MAPCHOOSER_MAP_BG:
X:PARENT_RIGHT-268
Y:50
Width:252
Height:252
Background:dialog3
Children:
MapPreview@MAPCHOOSER_MAP_PREVIEW:
Id:MAPCHOOSER_MAP_PREVIEW
X:4
Y:4
Width:244
Height:244
Label@CURMAP_TITLE_LABEL:
Id:CURMAP_TITLE_LABEL
X:PARENT_RIGHT - 200 - WIDTH
Y:311
Align:Right
Width:70
Height:20
Text:Title:
Bold:True
Label@CURMAP_TITLE:
Id:CURMAP_TITLE
X:PARENT_RIGHT - 195
Y:311
Align:Left
Width:70
Height:20
Label@CURMAP_SIZE_LABEL:
Id:CURMAP_SIZE_LABEL
X:PARENT_RIGHT - 200 - WIDTH
Y:331
Align:Right
Width:70
Height:20
Text:Size:
Bold:True
Label@CURMAP_SIZE:
Id:CURMAP_SIZE
X:PARENT_RIGHT - 195
Y:331
Align:Left
Width:70
Height:20
Label@CURMAP_THEATER_LABEL:
Id:CURMAP_THEATER_LABEL
X:PARENT_RIGHT - 200 - WIDTH
Y:351
Align:Right
Width:70
Height:20
Text:Theater:
Bold:True
Label@CURMAP_THEATER:
Id:CURMAP_THEATER
X:PARENT_RIGHT - 195
Y:351
Align:Left
Width:70
Height:20
Label@CURMAP_PLAYERS_LABEL:
Id:CURMAP_PLAYERS_LABEL
X:PARENT_RIGHT - 200 - WIDTH
Y:371
Align:Right
Width:70
Height:20
Text:Players:
Bold:True
Label@CURMAP_PLAYERS:
Id:CURMAP_PLAYERS
X:PARENT_RIGHT - 195
Y:371
Align:Left
Width:70
Height:20
Button@BUTTON_OK: Button@BUTTON_OK:
Id:BUTTON_OK Id:BUTTON_OK
X:PARENT_RIGHT - 180 X:PARENT_RIGHT - 360
Y:PARENT_BOTTOM - 45 Y:PARENT_BOTTOM - 45
Width:160 Width:160
Height:25 Height:25
Text:Ok Text:Ok
Bold:True Bold:True
ShpImage@MCV: Button@BUTTON_CANCEL:
Id:MCV Id:BUTTON_CANCEL
X:PARENT_RIGHT - 90 X:PARENT_RIGHT - 180
Y:20 Y:PARENT_BOTTOM - 45
Image:mcv Width:160
Frame:8
Palette:colorpicker
ShpImage@FACT:
Id:FACT
X:PARENT_RIGHT - 100
Y:70
Image:fact
Palette:colorpicker
Label@HUE_LABEL:
X:0
Y:30
Width:110
Height:20
Align: Right
Text: Hue:
Slider@HUE:
Id:HUE_SLIDER
X:120
Y:30
Width:260
Height:20
Ticks:5
Label@SAT_LABEL:
X:0
Y:60
Width:110
Height:20
Align: Right
Text: Saturation:
Slider@SAT:
Id:SAT_SLIDER
X:120
Y:60
Width:260
Height:20
Ticks:5
Label@LUM_LABEL:
X:0
Y:90
Width:110
Height:20
Align: Right
Text: Brightness:
Slider@LUM:
Id:LUM_SLIDER
X:120
Y:90
Width:260
Height:20
Ticks:5
Label@RANGE_LABEL:
X:0
Y:120
Width:110
Height:20
Align: Right
Text: Range:
Slider@RANGE:
Id:RANGE_SLIDER
X:120
Y:120
Width:260
Height:20
Ticks:5
Background@MAP_CHOOSER:
Id:MAP_CHOOSER
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Delegate:MapChooserDelegate
Width:800
Height:600
Visible:false
Children:
Label@MAPCHOOSER_TITLE:
X:0
Y:20
Align:Center
Width:800
Height:20
Text:Choose Map
Bold:True
ListBox@MAP_LIST:
Id:MAP_LIST
X:20
Y:50
Width:500
Height:480
Children:
Label@MAP_TEMPLATE:
Id:MAP_TEMPLATE
Width:PARENT_RIGHT-28
Height:25 Height:25
ClickThrough:false Text:Cancel
X:2 Bold:True
Y:0
Visible:false
Background@MAPCHOOSER_MAP_BG:
X:PARENT_RIGHT-268
Y:50
Width:252
Height:252
Background:dialog3
Children:
MapPreview@MAPCHOOSER_MAP_PREVIEW:
Id:MAPCHOOSER_MAP_PREVIEW
X:4
Y:4
Width:244
Height:244
Label@CURMAP_TITLE_LABEL:
Id:CURMAP_TITLE_LABEL
X:PARENT_RIGHT - 200 - WIDTH
Y:311
Align:Right
Width:70
Height:20
Text:Title:
Bold:True
Label@CURMAP_TITLE:
Id:CURMAP_TITLE
X:PARENT_RIGHT - 195
Y:311
Align:Left
Width:70
Height:20
Label@CURMAP_SIZE_LABEL:
Id:CURMAP_SIZE_LABEL
X:PARENT_RIGHT - 200 - WIDTH
Y:331
Align:Right
Width:70
Height:20
Text:Size:
Bold:True
Label@CURMAP_SIZE:
Id:CURMAP_SIZE
X:PARENT_RIGHT - 195
Y:331
Align:Left
Width:70
Height:20
Label@CURMAP_THEATER_LABEL:
Id:CURMAP_THEATER_LABEL
X:PARENT_RIGHT - 200 - WIDTH
Y:351
Align:Right
Width:70
Height:20
Text:Theater:
Bold:True
Label@CURMAP_THEATER:
Id:CURMAP_THEATER
X:PARENT_RIGHT - 195
Y:351
Align:Left
Width:70
Height:20
Label@CURMAP_PLAYERS_LABEL:
Id:CURMAP_PLAYERS_LABEL
X:PARENT_RIGHT - 200 - WIDTH
Y:371
Align:Right
Width:70
Height:20
Text:Players:
Bold:True
Label@CURMAP_PLAYERS:
Id:CURMAP_PLAYERS
X:PARENT_RIGHT - 195
Y:371
Align:Left
Width:70
Height:20
Button@BUTTON_OK:
Id:BUTTON_OK
X:PARENT_RIGHT - 360
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Ok
Bold:True
Button@BUTTON_CANCEL:
Id:BUTTON_CANCEL
X:PARENT_RIGHT - 180
Y:PARENT_BOTTOM - 45
Width:160
Height:25
Text:Cancel
Bold:True