diff options
author | rubidium <rubidium@openttd.org> | 2009-09-18 14:23:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-18 14:23:58 +0000 |
commit | 04d5b67eb6bfa06061952422f712f54e8d212844 (patch) | |
tree | a18229cc039707a410cd26c3ae1faaa5641ff130 /src/timetable_cmd.cpp | |
parent | e5755bd9508f818ff65f7af6521bf1e42dd019f6 (diff) | |
download | openttd-04d5b67eb6bfa06061952422f712f54e8d212844.tar.xz |
(svn r17567) -Fix: some doxygen warnings
Diffstat (limited to 'src/timetable_cmd.cpp')
-rw-r--r-- | src/timetable_cmd.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/timetable_cmd.cpp b/src/timetable_cmd.cpp index 00b96533f..2175b884d 100644 --- a/src/timetable_cmd.cpp +++ b/src/timetable_cmd.cpp @@ -58,6 +58,8 @@ static void ChangeTimetable(Vehicle *v, VehicleOrderID order_number, uint16 time * - p2 = (bit 0-15) - Waiting or travelling time as specified by p1 bit 24 if p1 bit 25 is not set, * Travelling time if p1 bit 25 is set. * - p2 = (bit 16-31) - Waiting time if p1 bit 25 is set + * @param text unused + * @return the cost of this operation or an error */ CommandCost CmdChangeTimetable(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text) { @@ -115,6 +117,9 @@ CommandCost CmdChangeTimetable(TileIndex tile, DoCommandFlag flags, uint32 p1, u * @param flags Operation to perform. * @param p1 Various bitstuffed elements * - p1 = (bit 0-15) - Vehicle with the orders to change. + * @param p2 unused + * @param text unused + * @return the cost of this operation or an error */ CommandCost CmdSetVehicleOnTime(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text) { @@ -142,6 +147,8 @@ CommandCost CmdSetVehicleOnTime(TileIndex tile, DoCommandFlag flags, uint32 p1, * @param p2 Various bitstuffed elements * - p2 = (bit 0) - Set to 1 to enable, 0 to disable autofill. * - p2 = (bit 1) - Set to 1 to preserve waiting times in non-destructive mode + * @param text unused + * @return the cost of this operation or an error */ CommandCost CmdAutofillTimetable(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text) { |