Add game speed dropdown to the lobby.

This commit is contained in:
Paul Chote
2015-09-03 21:40:45 +01:00
parent 257c043e58
commit 301b698c81
13 changed files with 261 additions and 43 deletions

View File

@@ -151,6 +151,19 @@ Background@LOBBY_OPTIONS_BIN:
Width: 140
Height: 20
Text: Debug Menu
Label@DIFFICULTY_DESC:
X: PARENT_RIGHT - WIDTH - 145
Y: 70
Width: 120
Height: 25
Text: Mission Difficulty:
Align: Right
DropDownButton@DIFFICULTY_DROPDOWNBUTTON:
X: PARENT_RIGHT - WIDTH
Y: 70
Width: 140
Height: 25
Font: Regular
Label@STARTINGCASH_DESC:
Y: 110
Width: 80
@@ -177,19 +190,6 @@ Background@LOBBY_OPTIONS_BIN:
Width: 140
Height: 25
Font: Regular
Label@DIFFICULTY_DESC:
X: PARENT_RIGHT - WIDTH - 145
Y: 150
Width: 120
Height: 25
Text: Mission Difficulty:
Align: Right
DropDownButton@DIFFICULTY_DROPDOWNBUTTON:
X: PARENT_RIGHT - WIDTH
Y: 150
Width: 140
Height: 25
Font: Regular
DropDownButton@TECHLEVEL_DROPDOWNBUTTON:
X: 85
Y: 150
@@ -203,6 +203,19 @@ Background@LOBBY_OPTIONS_BIN:
Height: 25
Text: Tech Level:
Align: Right
Label@GAMESPEED_DESC:
X: PARENT_RIGHT - WIDTH - 145
Y: 150
Width: 120
Height: 25
Text: Game Speed:
Align: Right
DropDownButton@GAMESPEED_DROPDOWNBUTTON:
X: PARENT_RIGHT - WIDTH
Y: 150
Width: 140
Height: 25
Font: Regular
Background@FORCE_START_DIALOG:
X: 20

View File

@@ -193,3 +193,21 @@ SupportsMapsFrom: d2k
SpriteFormats: R8, ShpTD, TmpRA
SpriteSequenceFormat: DefaultSpriteSequence
GameSpeeds:
slower:
Name: Slower
Timestep: 50
OrderLatency: 3
default:
Name: Default
Timestep: 40
OrderLatency: 3
faster:
Name: Faster
Timestep: 30
OrderLatency: 4
fastest:
Name: Fastest
Timestep: 20
OrderLatency: 6