summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-18 23:12:38 +0000
committeryexo <yexo@openttd.org>2010-03-18 23:12:38 +0000
commit38f4cb64699af17b3456b93157eb528d6532b46d (patch)
treed2a6a9f247738a42f24309155a0e40af43362cb9 /src/newgrf_airport.h
parenta99a7e7a3784ce6678f8ce2402473133efe511e5 (diff)
downloadopenttd-38f4cb64699af17b3456b93157eb528d6532b46d.tar.xz
(svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found
Diffstat (limited to 'src/newgrf_airport.h')
-rw-r--r--src/newgrf_airport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h
index 61f7b66e1..49a2cc754 100644
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -15,6 +15,7 @@
#include "date_type.h"
#include "map_type.h"
#include "strings_type.h"
+#include "newgrf_commons.h"
/* Copy from station_map.h */
typedef byte StationGfx;
@@ -65,6 +66,7 @@ struct AirportSpec {
AirportClassID aclass; ///< the class to which this airport type belongs
/* Newgrf data */
bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though
+ GRFFileProps grf_prop; ///< properties related the the grf file
static const AirportSpec *Get(byte type);
static AirportSpec *GetWithoutOverride(byte type);