summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-05 12:00:09 +0000
committeryexo <yexo@openttd.org>2010-08-05 12:00:09 +0000
commitd2f9b87ccd370db55f360995609963b7c2d864df (patch)
tree648158aa814a6329c6e8ff6f9602985e203996c5 /src/newgrf_airport.h
parent330c2f979e794f751ccd0ee05256f7b788f13091 (diff)
downloadopenttd-d2f9b87ccd370db55f360995609963b7c2d864df.tar.xz
(svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles
Diffstat (limited to 'src/newgrf_airport.h')
-rw-r--r--src/newgrf_airport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h
index bcaa7e274..5895a00cb 100644
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -59,6 +59,7 @@ struct HangarTileTable {
struct AirportSpec {
const struct AirportFTAClass *fsm; ///< the finite statemachine for the default airports
const AirportTileTable * const *table; ///< list of the tiles composing the airport
+ Direction *rotation; ///< the rotation of each tiletable
byte num_table; ///< number of elements in the table
const HangarTileTable *depot_table; ///< gives the position of the depots on the airports
byte nof_depots; ///< the number of hangar tiles in this airport