OpenTTD Source: AircraftVehicleInfo Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
AircraftVehicleInfo Struct Reference

Information about a aircraft vehicle. More...

`#include <engine_type.h>`

## Data Fields
uint8_t | image_index
uint8_t | cost_factor
uint8_t | running_cost
uint8_t | subtype
| Type of aircraft.
SoundID | sfx
uint16_t | max_speed
| Maximum speed (1 unit = 8 mph = 12.8 km-ish/h)
uint8_t | acceleration
uint8_t | mail_capacity
| Mail capacity (bags).
uint16_t | passenger_capacity
| Passenger capacity (persons).
uint16_t | max_range
| Maximum range of this aircraft.

## Detailed Description

Information about a aircraft vehicle.

Definition at line 100 of file engine_type.h.

## Field Documentation

## ◆ acceleration

uint8_t AircraftVehicleInfo::acceleration

Definition at line 107 of file engine_type.h.

## ◆ cost_factor

uint8_t AircraftVehicleInfo::cost_factor

Definition at line 102 of file engine_type.h.

## ◆ image_index

uint8_t AircraftVehicleInfo::image_index

Definition at line 101 of file engine_type.h.

## ◆ mail_capacity

uint8_t AircraftVehicleInfo::mail_capacity

Mail capacity (bags).

Definition at line 108 of file engine_type.h.

Referenced by AircraftVehicleChangeInfo(), and CmdBuildAircraft().

## ◆ max_range

uint16_t AircraftVehicleInfo::max_range

Maximum range of this aircraft.

Definition at line 110 of file engine_type.h.

Referenced by AircraftVehicleChangeInfo(), and UpdateAircraftCache().

## ◆ max_speed

uint16_t AircraftVehicleInfo::max_speed

Maximum speed (1 unit = 8 mph = 12.8 km-ish/h)

Definition at line 106 of file engine_type.h.

Referenced by AircraftVehicleChangeInfo(), and UpdateAircraftCache().

## ◆ passenger_capacity

uint16_t AircraftVehicleInfo::passenger_capacity

Passenger capacity (persons).

Definition at line 109 of file engine_type.h.

Referenced by AircraftVehicleChangeInfo(), and CmdBuildAircraft().

## ◆ running_cost

uint8_t AircraftVehicleInfo::running_cost

Definition at line 103 of file engine_type.h.

## ◆ sfx

SoundID AircraftVehicleInfo::sfx

Definition at line 105 of file engine_type.h.

## ◆ subtype

uint8_t AircraftVehicleInfo::subtype

Type of aircraft.

See also
  AircraftSubTypeBits

Definition at line 104 of file engine_type.h.

Referenced by AircraftVehicleChangeInfo(), CanVehicleUseStation(), CheckAutoreplaceValidity(), CheckOrders(), CmdBuildAircraft(), CmdBuildVehicle(), FindNearestHangar(), GetEngineLiveryScheme(), GetVehicleCannotUseStationReason(), and MaybeCrashAirplane().

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

- src/engine_type.h