summaryrefslogtreecommitdiff
path: root/src/airport.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-15 20:35:45 +0000
committertron <tron@openttd.org>2007-02-15 20:35:45 +0000
commit0697701b33df7c16bd79d2c072e9f7b40b30ef8d (patch)
tree99a9c4e1fd6274538c34dd8761f6f530815a6691 /src/airport.h
parent5231f5669dcb1f4caa641696a16c8517239a5303 (diff)
downloadopenttd-0697701b33df7c16bd79d2c072e9f7b40b30ef8d.tar.xz
(svn r8748) -Fix
-Codechange: Do not hardcode the airports with a short airstrip anymore, but make it a flag in AirportFTAClass
Diffstat (limited to 'src/airport.h')
-rw-r--r--src/airport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/airport.h b/src/airport.h
index 1d940ddf8..dd5ebabce 100644
--- a/src/airport.h
+++ b/src/airport.h
@@ -125,6 +125,7 @@ typedef struct AirportFTAClass {
PLANES = 0x1,
HELICOPTERS = 0x2,
ALL = PLANES | HELICOPTERS,
+ SHORT_STRIP = 0x4
};
AirportFTAClass(
@@ -163,6 +164,9 @@ typedef struct AirportFTAClass {
byte delta_z; // Z adjustment for helicopter pads
} AirportFTAClass;
+DECLARE_ENUM_AS_BIT_SET(AirportFTAClass::Flags)
+
+
// internal structure used in openttd - Finite sTate mAchine --> FTA
typedef struct AirportFTA {
struct AirportFTA *next; // possible extra movement choices from this position