summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authorrichk <richk@openttd.org>2006-06-25 13:42:37 +0000
committerrichk <richk@openttd.org>2006-06-25 13:42:37 +0000
commit5f29205e94cd1802d3b7c8e40815023620cc5240 (patch)
treeffe41531412d4f33ca9b61dd59a4655b8967ef21 /table
parent09851483884ddf950da9bb872ad4fedc2797c35b (diff)
downloadopenttd-5f29205e94cd1802d3b7c8e40815023620cc5240.tar.xz
(svn r5362) - Fix: Updated sprites in New Airports to be allow cleaner replacement by newgrf graphics. All tiles now use SPR_AIRPORT_APRON as the tarmac. Created two new sprites in airports.grf for half-grass half-tarmac tiles on Intercontinental airport.
Diffstat (limited to 'table')
-rw-r--r--table/sprites.h2
-rw-r--r--table/station_land.h81
2 files changed, 53 insertions, 30 deletions
diff --git a/table/sprites.h b/table/sprites.h
index cbebb555e..32b4b319c 100644
--- a/table/sprites.h
+++ b/table/sprites.h
@@ -94,6 +94,8 @@ enum Sprites {
SPR_NEWHANGAR_N = SPR_AIRPORTX_BASE + 10,
SPR_NEWHANGAR_E = SPR_AIRPORTX_BASE + 11,
SPR_NEWHELIPAD = SPR_AIRPORTX_BASE + 12,
+ SPR_GRASS_RIGHT = SPR_AIRPORTX_BASE + 13,
+ SPR_GRASS_LEFT = SPR_AIRPORTX_BASE + 14,
/* Manager face sprites */
SPR_GRADIENT = 874, // background gradient behind manager face
diff --git a/table/station_land.h b/table/station_land.h
index 65ed12f28..0700f97b9 100644
--- a/table/station_land.h
+++ b/table/station_land.h
@@ -983,6 +983,7 @@ static const DrawTileSeqStruct _station_display_datas_0156[] = {
// helipad for helistation
// concrete underground
static const DrawTileSeqStruct _station_display_datas_0157[] = {
+ { 0, 1, 2, 16, 11, 40, SPR_NEWHELIPAD },
{ 15, 0, 0, 1, 16, 6, SPR_AIRPORT_FENCE_Y | PALETTE_MODIFIER_COLOR }, // fences west
{ 0, 15, 0, 16, 1, 6, SPR_AIRPORT_FENCE_X | PALETTE_MODIFIER_COLOR }, // fences south
TILE_SEQ_END()
@@ -991,6 +992,7 @@ static const DrawTileSeqStruct _station_display_datas_0157[] = {
// helipad for helistation
// concrete underground
static const DrawTileSeqStruct _station_display_datas_0158[] = {
+ { 0, 1, 2, 16, 11, 40, SPR_NEWHELIPAD },
{ 15, 0, 0, 1, 16, 6, SPR_AIRPORT_FENCE_Y | PALETTE_MODIFIER_COLOR }, // fences west
{ 0, 0, 0, 16, 1, 6, SPR_AIRPORT_FENCE_X | PALETTE_MODIFIER_COLOR }, // fences north
TILE_SEQ_END()
@@ -999,6 +1001,7 @@ static const DrawTileSeqStruct _station_display_datas_0158[] = {
// helipad for helistation
// concrete underground
static const DrawTileSeqStruct _station_display_datas_0159[] = {
+ { 0, 1, 2, 16, 11, 40, SPR_NEWHELIPAD },
{ 0, 0, 0, 16, 1, 6, SPR_AIRPORT_FENCE_X | PALETTE_MODIFIER_COLOR }, // fences north
TILE_SEQ_END()
};
@@ -1016,6 +1019,18 @@ static const DrawTileSeqStruct _station_display_datas_0161[] = {
TILE_SEQ_END()
};
+// half grass half SPR_AIRPORT_APRON
+static const DrawTileSeqStruct _station_display_datas_0162[] = {
+ { 0, 0, 0, 0, 0, 0, SPR_GRASS_LEFT },
+ TILE_SEQ_END()
+};
+
+// half grass half SPR_AIRPORT_APRON
+static const DrawTileSeqStruct _station_display_datas_0163[] = {
+ { 0, 0, 0, 0, 0, 0, SPR_GRASS_RIGHT },
+ TILE_SEQ_END()
+};
+
static const DrawTileSprites _station_display_datas[] = {
{ SPR_RAIL_TRACK_X, _station_display_datas_0 },
{ SPR_RAIL_TRACK_Y, _station_display_datas_1 },
@@ -1146,37 +1161,43 @@ static const DrawTileSprites _station_display_datas[] = {
{ SPR_NSRUNWAY_END, _station_display_datas_0126 },
{ SPR_NSRUNWAY1, _station_display_datas_0127 },
{ SPR_NSRUNWAY_END, _station_display_datas_0128 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0129 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0130 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0131 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0132 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0133 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0134 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0135 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0136 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0137 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0129 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0130 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0131 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0132 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0133 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0134 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0135 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0136 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0137 },
{ SPR_AIRPORT_AIRCRAFT_STAND, _station_display_datas_0138 },
{ SPR_AIRPORT_AIRCRAFT_STAND, _station_display_datas_0139 },
{ SPR_AIRPORT_AIRCRAFT_STAND, _station_display_datas_0140 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0141 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0142 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0143 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0144 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0145 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0146 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0147 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0148 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0149 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0150 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0151 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0152 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0153 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0154 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0155 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0156 },
- { SPR_NEWHELIPAD, _station_display_datas_0157 },
- { SPR_NEWHELIPAD, _station_display_datas_0158 },
- { SPR_NEWHELIPAD, _station_display_datas_0159 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0160 },
- { SPR_NEWAIRPORT_TARMAC, _station_display_datas_0161 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0141 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0142 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0143 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0144 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0145 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0146 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0147 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0148 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0149 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0150 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0151 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0152 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0153 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0154 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0155 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0156 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0157 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0158 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0159 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0160 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0161 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0162 },
+ { SPR_AIRPORT_APRON, _station_display_datas_0163 },
+ { SPR_FLAT_GRASS_TILE, _station_display_datas_58 },
+ { SPR_FLAT_GRASS_TILE, _station_display_datas_59 },
+ { SPR_FLAT_GRASS_TILE, _station_display_datas_60 },
+ { SPR_FLAT_GRASS_TILE, _station_display_datas_61 },
};