diff options
author | tron <tron@openttd.org> | 2007-02-15 20:35:45 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-02-15 20:35:45 +0000 |
commit | e23396701957df3f20791ecacbd311a59b45f9f5 (patch) | |
tree | 99a9c4e1fd6274538c34dd8761f6f530815a6691 /src/airport.h | |
parent | 16df3786233048ca5efd61d5bee80746f82914cb (diff) | |
download | openttd-e23396701957df3f20791ecacbd311a59b45f9f5.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.h | 4 |
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 |