10 #ifndef VEHICLE_TYPE_H 11 #define VEHICLE_TYPE_H 70 DEPOT_COMMAND_MASK = 0xFU << 28,
Helper template class that makes basic properties of given enumeration type visible from outsize...
Last company-ownable type.
Non-existing type of vehicle.
Don't cancel current goto depot command if any.
Vehicle drawn in viewport.
static const int GROUND_ACCELERATION
Acceleration due to gravity, 9.8 m/s^2.
VehicleType
Available vehicle types.
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'.
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, ...
All ships have this type.
'Train' is either a loco or a wagon.
Effect vehicle type (smoke, explosions, sparks, bubbles)
The vehicle will leave the depot right after arrival (service 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.
VehicleType type
Type of vehicle.
#define DECLARE_POSTFIX_INCREMENT(enum_type)
Some enums need to have allowed incrementing (i.e.