(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:
@@ -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
|
||||
|
Reference in New Issue
Block a user