summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-05 23:21:51 +0000
committeryexo <yexo@openttd.org>2010-03-05 23:21:51 +0000
commit585b036c90b9984bf5a1ecc79e6932182fa8adc0 (patch)
treedf4b7bd9a7b682d76ec4209622545fe90e825209 /src/newgrf_airport.h
parentc42e2a9bfc2114d54257832a644d485244c0c537 (diff)
downloadopenttd-585b036c90b9984bf5a1ecc79e6932182fa8adc0.tar.xz
(svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed
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 358ecd2d6..cb542f316 100644
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -61,6 +61,8 @@ struct AirportSpec {
StringID name; ///< name of this airport
TTDPAirportType ttd_airport_type; ///< ttdpatch airport type (Small/Large/Helipad/Oilrig)
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
static const AirportSpec *Get(byte type);
static AirportSpec *GetWithoutOverride(byte type);