diff options
author | yexo <yexo@openttd.org> | 2010-03-06 16:02:07 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-03-06 16:02:07 +0000 |
commit | f7691a95d78592b428815f690a829fc6d35e7c5d (patch) | |
tree | 5e288b454ad7b652577219e574f766a346d29d72 /src/newgrf_airport.h | |
parent | 20e05f878cc9110d5a7540b6042a04cf2b2d5d5e (diff) | |
download | openttd-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.h | 1 |
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 |