summaryrefslogtreecommitdiff
path: root/station_map.h
diff options
context:
space:
mode:
authorrichk <richk@openttd.org>2006-06-23 22:05:40 +0000
committerrichk <richk@openttd.org>2006-06-23 22:05:40 +0000
commita832ca51feb61319cccd8501bbb9020df2135a9f (patch)
treee99c13a6de64e812b421e6c8a3019920196c8667 /station_map.h
parentea5f3af9b823bd2985ad2532acb58de5fa2ed6a2 (diff)
downloadopenttd-a832ca51feb61319cccd8501bbb9020df2135a9f.tar.xz
(svn r5346) - Feature: Add 4 new airports. 2 for aircraft, 2 for helicopters.
Commuter airport: Small. 5x4. 3 terminals, 2 helipads. Intercontinental: massive. 9x11. 8 terminals, 2 helipads, 4 runways. Helidepot: a small heliport with a depot for helis only. Helistation: a large heliport with 3 helipads and a depot.
Diffstat (limited to 'station_map.h')
-rw-r--r--station_map.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/station_map.h b/station_map.h
index 7033f63aa..9ed3de987 100644
--- a/station_map.h
+++ b/station_map.h
@@ -38,7 +38,9 @@ enum {
GFX_RADAR_INTERNATIONAL_LAST = 101,
GFX_RADAR_METROPOLITAN_FIRST = 102,
GFX_RADAR_METROPOLITAN_LAST = 113,
- GFX_BASE_END = 155
+ GFX_RADAR_DISTRICTWE_FIRST = 145,
+ GFX_RADAR_DISTRICTWE_LAST = 156,
+ GFX_BASE_END = 161
};
enum {
@@ -53,7 +55,10 @@ enum {
typedef enum HangarTiles {
HANGAR_TILE_0 = 32,
HANGAR_TILE_1 = 65,
- HANGAR_TILE_2 = 86
+ HANGAR_TILE_2 = 86,
+ HANGAR_TILE_3 = 129, // added for west facing hangar
+ HANGAR_TILE_4 = 130, // added for north facing hangar
+ HANGAR_TILE_5 = 131 // added for east facing hangar
} HangarTiles;
typedef enum StationType {
@@ -102,7 +107,10 @@ static inline bool IsHangar(TileIndex t)
return
gfx == HANGAR_TILE_0 ||
gfx == HANGAR_TILE_1 ||
- gfx == HANGAR_TILE_2;
+ gfx == HANGAR_TILE_2 ||
+ gfx == HANGAR_TILE_3 ||
+ gfx == HANGAR_TILE_4 ||
+ gfx == HANGAR_TILE_5;
}
static inline bool IsAirport(TileIndex t)