(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
This commit is contained in:
yexo
2010-03-06 15:38:13 +00:00
parent 0baa5ff944
commit 20e05f878c
6 changed files with 56 additions and 107 deletions

View File

@@ -185,8 +185,6 @@ struct AirportFTA {
byte heading; ///< heading (current orders), guiding an airplane to its target on an airport
};
void InitializeAirports();
void UnInitializeAirports();
const AirportFTAClass *GetAirport(const byte airport_type);
extern const byte * const _airport_sections[];