10#ifndef AUTOREPLACE_CMD_H
11#define AUTOREPLACE_CMD_H
CommandCost CmdAutoreplaceVehicle(DoCommandFlag flags, VehicleID veh_id)
Autoreplaces a vehicle Trains are replaced as a whole chain, free wagons in depot are replaced on the...
CommandCost CmdSetAutoReplace(DoCommandFlag flags, GroupID id_g, EngineID old_engine_type, EngineID new_engine_type, bool when_old)
Change engine renewal parameters.
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_SET_AUTOREPLACE
set an autoreplace entry
@ CMD_AUTOREPLACE_VEHICLE
replace/renew a vehicle while it is in a depot
Types related to engines.
uint16_t EngineID
Unique identification number of an engine.
uint16_t GroupID
Type for all group identifiers.
Types related to vehicles.
uint32_t VehicleID
The type all our vehicle IDs have.