summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-06 16:02:07 +0000
committeryexo <yexo@openttd.org>2010-03-06 16:02:07 +0000
commitf7691a95d78592b428815f690a829fc6d35e7c5d (patch)
tree5e288b454ad7b652577219e574f766a346d29d72 /src/newgrf_airport.h
parent20e05f878cc9110d5a7540b6042a04cf2b2d5d5e (diff)
downloadopenttd-f7691a95d78592b428815f690a829fc6d35e7c5d.tar.xz
(svn r19354) -Codechange: store the number of layouts in AirportSpec
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 495ca8ac5..61f7b66e1 100644
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -51,6 +51,7 @@ enum TTDPAirportType {
struct AirportSpec {
const struct AirportFTAClass *fsm; ///< the finite statemachine for the default airports
const AirportTileTable * const *table; ///< list of the tiles composing the airport
+ byte num_table; ///< number of elements in the table
const TileIndexDiffC *depot_table; ///< gives the position of the depots on the airports
byte nof_depots; ///< the number of depots in this airport
byte size_x; ///< size of airport in x direction