OpenTTD Source  20241120-master-g6d3adc6169
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. More...
 
SoundID sfx
 
uint8_t acceleration
 
uint16_t max_speed
 Maximum speed (1 unit = 8 mph = 12.8 km-ish/h)
 
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

◆ subtype

uint8_t AircraftVehicleInfo::subtype

Type of aircraft.

See also
AircraftSubTypeBits

Definition at line 104 of file engine_type.h.

Referenced by CanVehicleUseStation(), CheckAutoreplaceValidity(), and CmdBuildVehicle().


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