Common return value for all commands.
Types related to commands.
@ VehicleManagement
Stopping, starting, sending to depot, turning around, replace orders etc.
@ Location
the command has implicit location argument.
@ TurnRoadVehicle
turn a road vehicle around
Types related to engines.
CommandCost CmdTurnRoadVeh(DoCommandFlags flags, VehicleID veh_id)
Turn a roadvehicle around.
bool RoadVehiclesAreBuilt()
Verify whether a road vehicle is available.
CommandCost CmdTurnRoadVeh(DoCommandFlags flags, VehicleID veh_id)
Turn a roadvehicle around.
CommandCost CmdBuildRoadVehicle(DoCommandFlags flags, TileIndex tile, const Engine *e, Vehicle **v)
Build a road vehicle.
Buses, trucks and trams belong to this class.
StrongType::Typedef< uint32_t, struct TileIndexTag, StrongType::Compare, StrongType::Integer, StrongType::Compatible< int32_t >, StrongType::Compatible< int64_t > > TileIndex
The index/ID of a Tile.
Types related to vehicles.
PoolID< uint32_t, struct VehicleIDTag, 0xFF000, 0xFFFFF > VehicleID
The type all our vehicle IDs have.