#include <airport.h>
Public Types | |
enum | Flags { AIRPLANES = 0x1, HELICOPTERS = 0x2, ALL = AIRPLANES | HELICOPTERS, SHORT_STRIP = 0x4 } |
Public Member Functions | |
AirportFTAClass (const AirportMovingData *moving_data, const byte *terminals, const byte *helipads, const byte *entry_points, Flags flags, const AirportFTAbuildup *apFA, const TileIndexDiffC *depots, byte nof_depots, uint size_x, uint size_y, uint8 noise_level, byte delta_z, byte catchment, Year first_available, Year last_available) | |
const AirportMovingData * | MovingData (byte position) const |
bool | IsAvailable () const |
Is this airport available at this date? | |
Data Fields | |
const AirportMovingData * | moving_data |
struct AirportFTA * | layout |
state machine for airport | |
const byte * | terminals |
const byte * | helipads |
const TileIndexDiffC * | airport_depots |
gives the position of the depots on the airports | |
Flags | flags |
byte | nof_depots |
number of depots this airport has | |
byte | nofelements |
number of positions the airport consists of | |
const byte * | entry_points |
when an airplane arrives at this airport, enter it at position entry_point, index depends on direction | |
byte | size_x |
byte | size_y |
uint8 | noise_level |
noise that this airport generates | |
byte | delta_z |
Z adjustment for helicopter pads. | |
byte | catchment |
Year | first_available |
the year this airport becomes available | |
Year | last_available |
the year this airport expires |
Definition at line 140 of file airport.h.