29void CcBuildWagon(
Commands cmd,
const CommandCost &result,
VehicleID new_veh_id, uint, uint16_t,
CargoArray,
TileIndex tile,
EngineID,
bool,
CargoType,
ClientID);
uint8_t CargoType
Cargo slots to indicate a cargo type within a game.
Common return value for all commands.
Types related to commands.
@ CMDT_VEHICLE_CONSTRUCTION
Construction, modification (incl. refit) and destruction of vehicles.
@ CMDT_VEHICLE_MANAGEMENT
Stopping, starting, sending to depot, turning around, replace orders etc.
@ Location
the command has implicit location argument.
Commands
List of commands.
@ CMD_FORCE_TRAIN_PROCEED
proceed a train to pass a red signal
@ CMD_REVERSE_TRAIN_DIRECTION
turn a train around
@ CMD_MOVE_RAIL_VEHICLE
move a rail vehicle (in the depot)
Types related to engines.
Types used for networking.
ClientID
'Unique' identifier to be given to clients
Class for storing amounts of cargo.
CommandCost CmdForceTrainProceed(DoCommandFlags flags, VehicleID veh_id)
Force a train through a red signal.
void CcBuildWagon(Commands cmd, const CommandCost &result, VehicleID new_veh_id, uint, uint16_t, CargoArray, TileIndex tile, EngineID, bool, CargoType, ClientID)
Callback for building wagons.
CommandCost CmdReverseTrainDirection(DoCommandFlags flags, VehicleID veh_id, bool reverse_single_veh)
Reverse train.
CommandCost CmdBuildRailVehicle(DoCommandFlags flags, TileIndex tile, const Engine *e, Vehicle **ret)
Build a railroad vehicle.
CommandCost CmdMoveRailVehicle(DoCommandFlags flags, VehicleID src_veh, VehicleID dest_veh, bool move_chain)
Move a rail vehicle around inside the depot.
CommandCost CmdSellRailWagon(DoCommandFlags flags, Vehicle *t, bool sell_chain, bool backup_order, ClientID user)
Sell a (single) train wagon/engine.
Types related to vehicles.