OpenTTD Source 20241224-master-gf74b0cf984
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.
 
uint16_t flag
 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 131 of file airport.h.

Field Documentation

◆ direction

Direction AirportMovingData::direction

Direction to turn the aircraft after reaching the destination.

Definition at line 135 of file airport.h.

Referenced by AircraftController(), and RotateAirportMovingData().

◆ flag

uint16_t AirportMovingData::flag

special flags when moving towards the destination.

Definition at line 134 of file airport.h.

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

◆ x

int16_t AirportMovingData::x

x-coordinate of the destination.

Definition at line 132 of file airport.h.

Referenced by AircraftController(), and RotateAirportMovingData().

◆ y

int16_t AirportMovingData::y

y-coordinate of the destination.

Definition at line 133 of file airport.h.

Referenced by AircraftController(), and RotateAirportMovingData().


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