12 #ifndef VEHICLE_TYPE_H 13 #define VEHICLE_TYPE_H 72 DEPOT_COMMAND_MASK = 0xFU << 28,
Helper template class that makes basic properties of given enumeration type visible from outsize...
Non-existing type of vehicle.
Don't cancel current goto depot command if any.
Vehicle drawn in viewport.
The Original PathFinder (only for ships)
Last company-ownable type.
Aircraft, helicopters, rotors and their shadows belong to this class.
A special vehicle is one of the following:
Vehicle drawn in purchase list, autoreplace gui, ...
static const VehicleID INVALID_VEHICLE
Constant representing a non-existing vehicle.
EngineImageType
Visualisation contexts of vehicles and engines.
Find another airport if the target one lacks a hangar.
Type (helpers) for enums.
DepotCommand
Flags to add to p1 for goto depot commands.
Vehicle drawn in vehicle details, refit window, ...
Buses, trucks and trams belong to this class.
static const uint MAX_LENGTH_VEHICLE_NAME_CHARS
The maximum length of a vehicle name in characters including '\0'.
VehicleType
Available vehicle types.
uint32 VehicleID
The type all our vehicle IDs have.
Tells that it's a mass send to depot command (type in VLW flag)
static const uint VEHICLE_LENGTH
The length of a vehicle in tile units.
Informative template class exposing basic enumeration properties used by several other templates belo...
Vehicle drawn in preview window, news, ...
Effect vehicle type (smoke, explosions, sparks, bubbles)
All ships have this type.
'Train' is either a loco or a wagon.
The vehicle will leave the depot right after arrival (serivce only)
Vehicle drawn in vehicle list, group list, ...
VehiclePathFinders
Pathfinding option states.
AccelerationModel
Vehicle acceleration models.
Disasters, like submarines, skyrangers and their shadows, belong to this class.
#define DECLARE_POSTFIX_INCREMENT(type)
Some enums need to have allowed incrementing (i.e.
VehicleTypeByte type
Type of vehicle.
SimpleTinyEnumT< VehicleType, byte > VehicleTypeByte
It needs to be 8bits, because we save and load it as such.