From 0697701b33df7c16bd79d2c072e9f7b40b30ef8d Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 15 Feb 2007 20:35:45 +0000 Subject: (svn r8748) -Fix -Codechange: Do not hardcode the airports with a short airstrip anymore, but make it a flag in AirportFTAClass --- src/airport.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/airport.h') 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 -- cgit v1.2.3-54-g00ecf