Merge pull request #5093 from Mailaender/beacon-buttons

Added the Beacon button artwork for Red Alert, Dune 2000 and Tiberian Sun
This commit is contained in:
Paul Chote
2014-04-14 12:06:15 +12:00
11 changed files with 61 additions and 67 deletions

Binary file not shown.

View File

@@ -170,13 +170,13 @@ tabs-normal: tabs.png
ordos-Starport: 214,200,27,41 ordos-Starport: 214,200,27,41
flags: buttons.png flags: buttons.png
atreides: 0,86,22,21 atreides: 0,114,22,21
harkonnen: 22,86,23,21 harkonnen: 22,114,23,21
ordos: 45,86,22,21 ordos: 45,114,22,21
random: 67,86,23,21 random: 67,114,23,21
spectator: 67,86,23,21 spectator: 67,114,23,21
# Used for the menu # Used for the menu
dialog: dialog.png dialog: dialog.png
background: 0,0,480,480 background: 0,0,480,480
border-r: 489,0,9,192 border-r: 489,0,9,192
@@ -247,9 +247,9 @@ order-icons: buttons.png
power: 0,56,34,28 power: 0,56,34,28
power-disabled: 68,56,34,28 power-disabled: 68,56,34,28
power-active: 34,56,34,28 power-active: 34,56,34,28
beacon: 0,56,34,28 beacon: 0,84,34,28
beacon-disabled: 68,56,34,28 beacon-disabled: 68,84,34,28
beacon-active: 34,56,34,28 beacon-active: 34,84,34,28
music: musicplayer.png music: musicplayer.png
pause: 0,0,25,25 pause: 0,0,25,25
@@ -261,10 +261,10 @@ music: musicplayer.png
slowmo: 168,0,25,25 slowmo: 168,0,25,25
scrollbar: buttons.png scrollbar: buttons.png
down_arrow: 16,112,16,16 down_arrow: 16,140,16,16
down_pressed: 16,112,16,16 down_pressed: 16,140,16,16
up_arrow: 32,112,16,16 up_arrow: 32,140,16,16
up_pressed: 32,112,16,16 up_pressed: 32,140,16,16
# A copy of dialog3 (pressed button) # A copy of dialog3 (pressed button)
progressbar-bg: dialog.png progressbar-bg: dialog.png
@@ -521,7 +521,7 @@ checkbox: dialog.png
corner-br: 767,127,1,1 corner-br: 767,127,1,1
checkbox-bits: buttons.png checkbox-bits: buttons.png
checked: 0,112,16,16 checked: 0,140,16,16
checkbox-hover: dialog.png checkbox-hover: dialog.png
background: 641,129,126,126 background: 641,129,126,126

View File

@@ -59,6 +59,16 @@ Container@PLAYER_WIDGETS:
Width:320 Width:320
Height: 32 Height: 32
Children: Children:
Button@BEACON_BUTTON:
X:3-36
Width:34
Height:28
TooltipText: Place Beacon
TooltipContainer:TOOLTIP_CONTAINER
VisualHeight:0
Children:
Image@ICON:
ImageCollection:order-icons
Button@SELL_BUTTON: Button@SELL_BUTTON:
X:3 X:3
Width:34 Width:34
@@ -89,19 +99,6 @@ Container@PLAYER_WIDGETS:
Children: Children:
Image@ICON: Image@ICON:
ImageCollection:order-icons ImageCollection:order-icons
Button@BEACON_BUTTON:
X:75
# Hidden offscreen so that the shortcut still works
# while we wait for new button art to be created
Y:0-100
Width:34
Height:28
TooltipText: Place Beacon
TooltipContainer:TOOLTIP_CONTAINER
VisualHeight:0
Children:
Image@ICON:
ImageCollection:order-icons
SupportPowerBin@INGAME_POWERS_BIN: SupportPowerBin@INGAME_POWERS_BIN:
X:0 X:0
Y:25 Y:25

View File

@@ -1,7 +1,6 @@
ShadowIndex: 1 ShadowIndex: 1
Palettes: Palettes:
cursor: cursor.pal
mouse: d2k.pal mouse: d2k.pal
Cursors: Cursors:
@@ -262,7 +261,7 @@ Cursors:
x: 24 x: 24
y: 24 y: 24
nopower.shp: cursor nopower.shp: mouse
powerdown-blocked: powerdown-blocked:
start:0 start:0
length: 1 length: 1

View File

@@ -2,7 +2,8 @@
Building: Building:
Adjacent: 4 Adjacent: 4
TerrainTypes: Rock TerrainTypes: Rock
BuildSounds: BUILD1.WAV BuildSounds: CHUNG.WAV
SellSounds: CHUNG.WAV
AllowInvalidPlacement: true AllowInvalidPlacement: true
LaysTerrain: LaysTerrain:
Template: 88 Template: 88

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -191,15 +191,15 @@ order-icons: buttons.png
power: 0,56,34,28 power: 0,56,34,28
power-disabled: 68,56,34,28 power-disabled: 68,56,34,28
power-active: 34,56,34,28 power-active: 34,56,34,28
beacon: 0,56,34,28 beacon: 0,84,34,28
beacon-disabled: 68,56,34,28 beacon-disabled: 68,84,34,28
beacon-active: 34,56,34,28 beacon-active: 34,84,34,28
flags: buttons.png flags: buttons.png
allies: 30,84,30,15 allies: 30,112,30,15
soviet: 0,84,30,15 soviet: 0,112,30,15
random: 60,84,30,15 random: 60,112,30,15
spectator: 60,84,30,15 spectator: 60,112,30,15
music: musicplayer.png music: musicplayer.png
pause: 0,0,25,25 pause: 0,0,25,25
@@ -211,10 +211,10 @@ music: musicplayer.png
slowmo: 168,0,25,25 slowmo: 168,0,25,25
scrollbar: buttons.png scrollbar: buttons.png
down_arrow: 16,112,16,16 down_arrow: 16,140,16,16
down_pressed: 16,112,16,16 down_pressed: 16,140,16,16
up_arrow: 32,112,16,16 up_arrow: 32,140,16,16
up_pressed: 32,112,16,16 up_pressed: 32,140,16,16
# A copy of dialog3 (pressed button) # A copy of dialog3 (pressed button)
progressbar-bg: dialog.png progressbar-bg: dialog.png
@@ -471,7 +471,7 @@ checkbox: dialog.png
corner-br: 767,127,1,1 corner-br: 767,127,1,1
checkbox-bits: buttons.png checkbox-bits: buttons.png
checked: 0,112,16,16 checked: 0,140,16,16
checkbox-hover: dialog.png checkbox-hover: dialog.png
background: 641,129,126,126 background: 641,129,126,126

View File

@@ -59,6 +59,16 @@ Container@PLAYER_WIDGETS:
Width:320 Width:320
Height:32 Height:32
Children: Children:
Button@BEACON_BUTTON:
X:3-36
Width:34
Height:28
TooltipText: Place Beacon
TooltipContainer:TOOLTIP_CONTAINER
VisualHeight:0
Children:
Image@ICON:
ImageCollection:order-icons
Button@SELL_BUTTON: Button@SELL_BUTTON:
X:3 X:3
Width:34 Width:34
@@ -89,19 +99,6 @@ Container@PLAYER_WIDGETS:
Children: Children:
Image@ICON: Image@ICON:
ImageCollection:order-icons ImageCollection:order-icons
Button@BEACON_BUTTON:
X:75
# Hidden offscreen so that the shortcut still works
# while we wait for new button art to be created
Y:0-100
Width:34
Height:28
TooltipText: Place Beacon
TooltipContainer:TOOLTIP_CONTAINER
VisualHeight:0
Children:
Image@ICON:
ImageCollection:order-icons
SupportPowerBin@INGAME_POWERS_BIN: SupportPowerBin@INGAME_POWERS_BIN:
X:0 X:0
Y:25 Y:25

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -185,15 +185,15 @@ order-icons: buttons.png
power: 0,56,34,28 power: 0,56,34,28
power-disabled: 68,56,34,28 power-disabled: 68,56,34,28
power-active: 34,56,34,28 power-active: 34,56,34,28
beacon: 0,56,34,28 beacon: 0,84,34,28
beacon-disabled: 68,56,34,28 beacon-disabled: 68,84,34,28
beacon-active: 34,56,34,28 beacon-active: 34,84,34,28
flags: buttons.png flags: buttons.png
gdi: 30,84,30,15 gdi: 30,112,30,15
nod: 0,84,30,15 nod: 0,112,30,15
random: 60,84,30,15 random: 60,112,30,15
spectator: 60,84,30,15 spectator: 60,112,30,15
music: musicplayer.png music: musicplayer.png
pause: 0,0,25,25 pause: 0,0,25,25
@@ -205,10 +205,10 @@ music: musicplayer.png
slowmo: 168,0,25,25 slowmo: 168,0,25,25
scrollbar: buttons.png scrollbar: buttons.png
down_arrow: 16,112,16,16 down_arrow: 16,140,16,16
down_pressed: 16,112,16,16 down_pressed: 16,140,16,16
up_arrow: 32,112,16,16 up_arrow: 32,140,16,16
up_pressed: 32,112,16,16 up_pressed: 32,140,16,16
# A copy of dialog3 (pressed button) # A copy of dialog3 (pressed button)
progressbar-bg: dialog.png progressbar-bg: dialog.png
@@ -465,7 +465,7 @@ checkbox: dialog.png
corner-br: 767,127,1,1 corner-br: 767,127,1,1
checkbox-bits: buttons.png checkbox-bits: buttons.png
checked: 0,112,16,16 checked: 0,140,16,16
checkbox-hover: dialog.png checkbox-hover: dialog.png
background: 641,129,126,126 background: 641,129,126,126

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB