summaryrefslogtreecommitdiff
path: root/src/timetable_cmd.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-11-04 00:10:13 +0100
committerMichael Lutz <michi@icosahedron.de>2021-12-16 22:28:32 +0100
commit2637c06f88ed6f9dea55449883f42a62c30f19d8 (patch)
treed54f06200b16c0c51b40cce65242e3099c8b4b7c /src/timetable_cmd.h
parent211c630cbe4185a2adf8b8cd8f52ca58f8bf17ed (diff)
downloadopenttd-2637c06f88ed6f9dea55449883f42a62c30f19d8.tar.xz
Codechange: Un-bitstuff timetable commands.
Diffstat (limited to 'src/timetable_cmd.h')
-rw-r--r--src/timetable_cmd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timetable_cmd.h b/src/timetable_cmd.h
index ba5e2b37e..ddf127737 100644
--- a/src/timetable_cmd.h
+++ b/src/timetable_cmd.h
@@ -12,10 +12,10 @@
#include "command_type.h"
-CommandProc CmdChangeTimetable;
-CommandProc CmdSetVehicleOnTime;
-CommandProc CmdAutofillTimetable;
-CommandProc CmdSetTimetableStart;
+CommandCost CmdChangeTimetable(DoCommandFlag flags, VehicleID veh, VehicleOrderID order_number, ModifyTimetableFlags mtf, uint16 data);
+CommandCost CmdSetVehicleOnTime(DoCommandFlag flags, VehicleID veh);
+CommandCost CmdAutofillTimetable(DoCommandFlag flags, VehicleID veh, bool autofill, bool preserve_wait_time);
+CommandCost CmdSetTimetableStart(DoCommandFlag flags, VehicleID veh_id, bool timetable_all, Date start_date);
DEF_CMD_TRAIT(CMD_CHANGE_TIMETABLE, CmdChangeTimetable, 0, CMDT_ROUTE_MANAGEMENT)
DEF_CMD_TRAIT(CMD_SET_VEHICLE_ON_TIME, CmdSetVehicleOnTime, 0, CMDT_ROUTE_MANAGEMENT)