(svn r8748) -Fix

-Codechange: Do not hardcode the airports with a short airstrip anymore, but make it a flag in AirportFTAClass
This commit is contained in:
tron
2007-02-15 20:35:45 +00:00
parent 16df378623
commit e233967019
3 changed files with 24 additions and 17 deletions

View File

@@ -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