Finite sTate mAchine (FTA) of an airport.
More...
#include <airport.h>
|
const AirportMovingData * | moving_data |
| Movement data.
|
|
struct AirportFTA * | layout |
| state machine for airport
|
|
const byte * | terminals |
| Array with the number of terminal groups, followed by the number of terminals in each group.
|
|
const byte | num_helipads |
| Number of helipads on this airport. When 0 helicopters will go to normal terminals.
|
|
Flags | flags |
| Flags for this airport type.
|
|
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 | delta_z |
| Z adjustment for helicopter pads.
|
|
Finite sTate mAchine (FTA) of an airport.
Definition at line 144 of file airport.h.
◆ Flags
Bitmask of airport flags.
Enumerator |
---|
AIRPLANES | Can planes land on this airport type?
|
HELICOPTERS | Can helicopters land on this airport type?
|
ALL | Mask to check for both planes and helicopters.
|
SHORT_STRIP | This airport has a short landing strip, dangerous for fast aircraft.
|
Definition at line 147 of file airport.h.
◆ MovingData()
Get movement data at a position.
- Parameters
-
position | Element number to get movement data about. |
- Returns
- Pointer to the movement data.
Definition at line 171 of file airport.h.
The documentation for this struct was generated from the following files: