Go to the documentation of this file.
10 #ifndef VEHICLE_TYPE_H
11 #define VEHICLE_TYPE_H
@ VEH_AIRCRAFT
Aircraft vehicle type.
Buses, trucks and trams belong to this class.
VehiclePathFinders
Pathfinding option states.
@ EIT_PREVIEW
Vehicle drawn in preview window, news, ...
@ VPF_YAPF
Yet Another PathFinder.
@ EIT_PURCHASE
Vehicle drawn in purchase list, autoreplace gui, ...
@ EIT_IN_DETAILS
Vehicle drawn in vehicle details, refit window, ...
@ LocateHangar
Find another airport if the target one lacks a hangar.
EngineImageType
Visualisation contexts of vehicles and engines.
@ VEH_ROAD
Road vehicle type.
@ Service
The vehicle will leave the depot right after arrival (service only)
Aircraft, helicopters, rotors and their shadows belong to this class.
#define DECLARE_POSTFIX_INCREMENT(enum_type)
Some enums need to have allowed incrementing (i.e.
DepotCommand
Flags for goto depot commands.
Informative template class exposing basic enumeration properties used by several other templates belo...
AccelerationModel
Vehicle acceleration models.
@ VEH_COMPANY_END
Last company-ownable type.
static const VehicleID INVALID_VEHICLE
Constant representing a non-existing vehicle.
@ EIT_ON_MAP
Vehicle drawn in viewport.
@ MassSend
Tells that it's a mass send to depot command (type in VLW flag)
static const int GROUND_ACCELERATION
Acceleration due to gravity, 9.8 m/s^2.
@ VEH_EFFECT
Effect vehicle type (smoke, explosions, sparks, bubbles)
'Train' is either a loco or a wagon.
@ VEH_INVALID
Non-existing type of vehicle.
VehicleType
Available vehicle types.
Disasters, like submarines, skyrangers and their shadows, belong to this class.
@ EIT_IN_DEPOT
Vehicle drawn in depot.
All ships have this type.
@ EIT_IN_LIST
Vehicle drawn in vehicle list, group list, ...
static const uint VEHICLE_LENGTH
The length of a vehicle in tile units.
static const uint MAX_LENGTH_VEHICLE_NAME_CHARS
The maximum length of a vehicle name in characters including '\0'.
@ DontCancel
Don't cancel current goto depot command if any.
A special vehicle is one of the following:
Helper template class that makes basic properties of given enumeration type visible from outsize.
@ VEH_DISASTER
Disaster vehicle type.
DECLARE_ENUM_AS_BIT_SET(GenderEthnicity) enum CompanyManagerFaceVariable
Bitgroups of the CompanyManagerFace variable.
uint32 VehicleID
The type all our vehicle IDs have.
@ VEH_TRAIN
Train vehicle type.
VehicleType type
Type of vehicle.
@ VEH_SHIP
Ship vehicle type.