#include <aircraft.h>

Public Member Functions | |
| Aircraft () | |
| We don't want GCC to zero our struct! It already is zeroed and has an index! | |
| virtual | ~Aircraft () |
| We want to 'destruct' the right class. | |
| const char * | GetTypeString () const |
| void | MarkDirty () |
| void | UpdateDeltaXY (Direction direction) |
| ExpensesType | GetExpenseType (bool income) const |
| bool | IsPrimaryVehicle () const |
| SpriteID | GetImage (Direction direction) const |
| int | GetDisplaySpeed () const |
| int | GetDisplayMaxSpeed () const |
| Money | GetRunningCost () const |
| bool | IsInDepot () const |
| bool | Tick () |
| void | OnNewDay () |
| uint | Crash (bool flooded=false) |
| TileIndex | GetOrderStationLocation (StationID station) |
| bool | FindClosestDepot (TileIndex *location, DestinationID *destination, bool *reverse) |
| FORCEINLINE bool | IsNormalAircraft () const |
| Check if the aircraft type is a normal flying device; eg not a rotor or a shadow. | |
Data Fields | |
| AircraftCache | acache |
| Cache of often used calculated values. | |
| uint16 | crashed_counter |
| byte | pos |
| byte | previous_pos |
| StationID | targetairport |
| byte | state |
| DirectionByte | last_direction |
| byte | number_consecutive_turns |
Definition at line 77 of file aircraft.h.
| virtual Aircraft::~Aircraft | ( | ) | [inline, virtual] |
| FORCEINLINE bool Aircraft::IsNormalAircraft | ( | ) | const [inline] |
Check if the aircraft type is a normal flying device; eg not a rotor or a shadow.
Definition at line 115 of file aircraft.h.
References AIR_AIRCRAFT.
Referenced by LoadUnloadVehicle(), RemoveAirport(), UpdateAirplanesOnNewStation(), UpdateOldAircraft(), and Station::~Station().
1.5.6