(svn r24584) -Doc: [Script] Improve API documentation.

This commit is contained in:
frosch
2012-10-10 19:11:22 +00:00
parent dda3709c7e
commit dee2f39f99
4 changed files with 13 additions and 3 deletions

View File

@@ -549,6 +549,9 @@ public:
/**
* Get the maximum allowed distance between two orders for a vehicle.
* The distance returned is a vehicle-type specific distance indepenent from other
* map distances, you may use the result of this function to compare it
* with the result of ScriptOrder::GetOrderDistance.
* @param vehicle_id The vehicle to get the distance for.
* @pre IsValidVehicle(vehicle_id).
* @return The maximum distance between two orders for this vehicle