10#ifndef AUTOREPLACE_CMD_H
11#define AUTOREPLACE_CMD_H
CommandCost CmdSetAutoReplace(DoCommandFlags flags, GroupID id_g, EngineID old_engine_type, EngineID new_engine_type, bool when_old)
Change engine renewal parameters.
CommandCost CmdAutoreplaceVehicle(DoCommandFlags flags, VehicleID veh_id)
Autoreplaces a vehicle Trains are replaced as a whole chain, free wagons in depot are replaced on the...
Common return value for all commands.
Types related to commands.
@ CMDT_VEHICLE_MANAGEMENT
Stopping, starting, sending to depot, turning around, replace orders etc.
@ CMD_SET_AUTOREPLACE
set an autoreplace entry
@ CMD_AUTOREPLACE_VEHICLE
replace/renew a vehicle while it is in a depot
Types related to engines.
Types related to vehicles.