mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r19017) -Doc: [NoAI] A parameter wasn't documented
This commit is contained in:
parent
9cf602c7c1
commit
7c1170668a
@ -352,9 +352,11 @@ public:
|
|||||||
* Sets the stoplocation of the given order for the given train.
|
* Sets the stoplocation of the given order for the given train.
|
||||||
* @param vehicle_id The vehicle to get the value for.
|
* @param vehicle_id The vehicle to get the value for.
|
||||||
* @param order_position The order to get the value for.
|
* @param order_position The order to get the value for.
|
||||||
|
* @param stop_location The relative position where a train will stop inside a station.
|
||||||
* @pre IsValidVehicleOrder(vehicle_id, order_position).
|
* @pre IsValidVehicleOrder(vehicle_id, order_position).
|
||||||
* @pre AIVehicle::GetVehicleType(vehicle_id) == AIVehicle::VT_RAIL.
|
* @pre AIVehicle::GetVehicleType(vehicle_id) == AIVehicle::VT_RAIL.
|
||||||
* @pre IsGotoStationOrder(vehicle_id, order_position).
|
* @pre IsGotoStationOrder(vehicle_id, order_position).
|
||||||
|
* @pre stop_location >= STOPLOCATION_NEAR && stop_location <= STOPLOCATION_FAR
|
||||||
* @return Whether the order has been/can be changed.
|
* @return Whether the order has been/can be changed.
|
||||||
*/
|
*/
|
||||||
static bool SetStopLocation(VehicleID vehicle_id, OrderPosition order_position, StopLocation stop_location);
|
static bool SetStopLocation(VehicleID vehicle_id, OrderPosition order_position, StopLocation stop_location);
|
||||||
|
Loading…
Reference in New Issue
Block a user