summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-06 15:38:13 +0000
committeryexo <yexo@openttd.org>2010-03-06 15:38:13 +0000
commit20e05f878cc9110d5a7540b6042a04cf2b2d5d5e (patch)
treeaf1c8f1b835d119f345fe87be8d9419f0b2ac291 /src/newgrf_airport.h
parent0baa5ff94495c3bcec79292df8b4409f5ad0802f (diff)
downloadopenttd-20e05f878cc9110d5a7540b6042a04cf2b2d5d5e.tar.xz
(svn r19353) -Codechange: use static objects for the airport statemachines instead of new/delete at the start/end of the game
-Codechange: store the fta 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 da5950f66..495ca8ac5 100644
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -49,6 +49,7 @@ enum TTDPAirportType {
* Defines the data structure for an airport.
*/
struct AirportSpec {
+ const struct AirportFTAClass *fsm; ///< the finite statemachine for the default airports
const AirportTileTable * const *table; ///< list of the tiles composing the airport
const TileIndexDiffC *depot_table; ///< gives the position of the depots on the airports
byte nof_depots; ///< the number of depots in this airport