Common return value for all commands.
Types related to commands.
@ CMDT_VEHICLE_MANAGEMENT
Stopping, starting, sending to depot, turning around, replace orders etc.
DoCommandFlag
List of flags for a command.
@ CMD_TURN_ROADVEH
turn a road vehicle around
@ CMD_LOCATION
the command has implicit location argument.
Types related to engines.
bool RoadVehiclesAreBuilt()
Verify whether a road vehicle is available.
CommandCost CmdBuildRoadVehicle(DoCommandFlag flags, TileIndex tile, const Engine *e, Vehicle **v)
Build a road vehicle.
CommandCost CmdTurnRoadVeh(DoCommandFlag flags, VehicleID veh_id)
Turn a roadvehicle around.
Buses, trucks and trams belong to this class.
Types related to vehicles.
uint32_t VehicleID
The type all our vehicle IDs have.