Added: StrategicProgressWidget to show the capturing progress (including custom gfx)

Fixed: Sync on unsyncable field type
Added: StrategicProgressWidget to both cnc & ra
This commit is contained in:
geckosoft
2010-11-15 14:43:28 +01:00
committed by Chris Forbes
parent 585cba8af8
commit 175b07c0ff
9 changed files with 144 additions and 3 deletions

View File

@@ -209,4 +209,12 @@
<collection name="checkbox" src="buttons.png">
<image name="checked" x="0" y="112" width="16" height="16" />
</collection>
<collection name="strategic" src="strategic.png">
<image name="unowned" x="0" y="0" width="32" height="32" />
<!-- <image name="owned" x="32" y="0" width="32" height="32" /> -->
<image name="critical_unowned" x="0" y="32" width="32" height="32" />
<image name="enemy_owned" x="32" y="32" width="32" height="32" />
<!-- <image name="unused_unowned" x="0" y="32" width="32" height="32" /> -->
<image name="player_owned" x="96" y="0" width="32" height="32" />
</collection>
</chrome>

View File

@@ -21,6 +21,10 @@ Container@INGAME_ROOT:
Id:GAME_TIMER
X: WINDOW_RIGHT/2
Y: 10
StrategicProgress@STRATEGIC_PROGRESS:
Id:STRATEGIC_PROGRESS
X: WINDOW_RIGHT/2
Y: 40
Background@POSTGAME_BG:
Id:POSTGAME_BG
X:(WINDOW_RIGHT - WIDTH)/2

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -174,6 +174,14 @@
<image name="unowned" x="528" y="128" width="16" height="16" />
<image name="owned" x="512" y="128" width="16" height="16" />
</collection>
<collection name="strategic" src="strategic.png">
<image name="unowned" x="0" y="0" width="32" height="32" />
<!-- <image name="owned" x="32" y="0" width="32" height="32" /> -->
<image name="critical_unowned" x="0" y="32" width="32" height="32" />
<image name="enemy_owned" x="32" y="32" width="32" height="32" />
<!-- <image name="unused_unowned" x="0" y="32" width="32" height="32" /> -->
<image name="player_owned" x="96" y="0" width="32" height="32" />
</collection>
<collection name="sell-button" src="buttons.png">
<image name="normal" x="0" y="0" width="34" height="28" />
<image name="pressed" x="34" y="0" width="34" height="28" />

View File

@@ -22,6 +22,10 @@ Container@INGAME_ROOT:
Id:GAME_TIMER
X: WINDOW_RIGHT/2
Y: 10
StrategicProgress@STRATEGIC_PROGRESS:
Id:STRATEGIC_PROGRESS
X: WINDOW_RIGHT/2
Y: 40
Background@POSTGAME_BG:
Id:POSTGAME_BG
X:(WINDOW_RIGHT - WIDTH)/2

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB