summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-05 12:03:34 +0000
committeryexo <yexo@openttd.org>2010-08-05 12:03:34 +0000
commit3e6f8165d47b0b414c98ffae3487c7bb9f557eae (patch)
tree25cdabbcebbdf6f2665597f4a51df08f19c74c06 /src/newgrf_airport.h
parent7e4bdbbc9dd9c7a4bb8f6c0af569aafece9d1443 (diff)
downloadopenttd-3e6f8165d47b0b414c98ffae3487c7bb9f557eae.tar.xz
(svn r20369) -Feature: preview sprites for airports
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 5895a00cb..20c6aa046 100644
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -16,6 +16,7 @@
#include "map_type.h"
#include "strings_type.h"
#include "newgrf_commons.h"
+#include "gfx_type.h"
/* Copy from station_map.h */
typedef byte StationGfx;
@@ -72,6 +73,7 @@ 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
+ SpriteID preview_sprite; ///< preview sprite for this airport
/* Newgrf data */
bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though
GRFFileProps grf_prop; ///< properties related the the grf file