OpenTTD Source: AirportMovingData Struct Reference

OpenTTD Source 15.3

Data Fields
AirportMovingData Struct Reference

A single location on an airport where aircraft can move to. More...

`#include <airport.h>`

## Data Fields
int16_t | x
| x-coordinate of the destination.
int16_t | y
| y-coordinate of the destination.
AirportMovingDataFlags | flags
| special flags when moving towards the destination.
Direction | direction
| Direction to turn the aircraft after reaching the destination.

## Detailed Description

A single location on an airport where aircraft can move to.

Definition at line 136 of file airport.h.

## Field Documentation

## ◆ direction

Direction AirportMovingData::direction

Direction to turn the aircraft after reaching the destination.

Definition at line 140 of file airport.h.

Referenced by AircraftController(), and RotateAirportMovingData().

## ◆ flags

AirportMovingDataFlags AirportMovingData::flags

special flags when moving towards the destination.

Definition at line 139 of file airport.h.

Referenced by AircraftController(), MapAircraftMovementState(), and RotateAirportMovingData().

## ◆ x

int16_t AirportMovingData::x

x-coordinate of the destination.

Definition at line 137 of file airport.h.

Referenced by AircraftController(), and RotateAirportMovingData().

## ◆ y

int16_t AirportMovingData::y

y-coordinate of the destination.

Definition at line 138 of file airport.h.

Referenced by AircraftController(), and RotateAirportMovingData().

The documentation for this struct was generated from the following file:

- src/airport.h