Add frontend code for issuing assault move orders.

This commit is contained in:
Paul Chote
2017-09-09 16:23:28 +01:00
committed by reaperrr
parent ffee45cd76
commit a81749e102
10 changed files with 107 additions and 5 deletions

View File

@@ -293,6 +293,7 @@ Container@PLAYER_WIDGETS:
Width: 276
Height: 36
Children:
LogicKeyListener@MODIFIER_OVERRIDES:
Button@ATTACK_MOVE:
X: 1
Y: 1

View File

@@ -167,6 +167,12 @@ Cursors:
attackmove-minimap:
Start: 20
Length: 4
assaultmove:
Start: 12
Length: 8
assaultmove-minimap:
Start: 20
Length: 4
move-blocked:
Start: 24
Length: 1

View File

@@ -30,6 +30,7 @@ Container@PLAYER_WIDGETS:
Width: 275
Height: 41
Children:
LogicKeyListener@MODIFIER_OVERRIDES:
Button@ATTACK_MOVE:
Width: 34
Height: 41

View File

@@ -138,6 +138,16 @@ Cursors:
Length: 8
X: 24
Y: 24
assaultmove:
Start: 16
Length: 8
X: 24
Y: 24
assaultmove-minimap:
Start: 16
Length: 8
X: 24
Y: 24
harvest:
Start: 16
Length: 8

View File

@@ -45,6 +45,7 @@ Container@PLAYER_WIDGETS:
Width: 275
Height: 26
Children:
LogicKeyListener@MODIFIER_OVERRIDES:
Button@ATTACK_MOVE:
Logic: AddFactionSuffixLogic
Width: 34

View File

@@ -217,3 +217,9 @@ Cursors:
attackmove-minimap:
Start: 4
Length: 4
assaultmove:
Start: 0
Length: 4
assaultmove-minimap:
Start: 4
Length: 4

View File

@@ -34,6 +34,7 @@ Container@PLAYER_WIDGETS:
Width: 275
Height: 26
Children:
LogicKeyListener@MODIFIER_OVERRIDES:
Button@ATTACK_MOVE:
Width: 35
Height: 32

View File

@@ -108,6 +108,12 @@ Cursors:
attackmove-minimap:
Start: 68
Length: 5
assaultmove:
Start: 58
Length: 5
assaultmove-minimap:
Start: 68
Length: 5
harvest:
Start: 53
Length: 5