mirror of https://github.com/OpenTTD/OpenTTD
(svn r27123) -Fix [FS#5371] [FS#6214]: API docs (krinn)
parent
8280de7240
commit
a55a5bff24
|
@ -108,7 +108,6 @@ public:
|
||||||
* Get the maximum speed of an engine.
|
* Get the maximum speed of an engine.
|
||||||
* @param engine_id The engine to get the maximum speed of.
|
* @param engine_id The engine to get the maximum speed of.
|
||||||
* @pre IsValidEngine(engine_id).
|
* @pre IsValidEngine(engine_id).
|
||||||
* @pre GetVehicleType(engine_id) != ScriptVehicle::VT_TRAIN || !IsWagon(engine_id).
|
|
||||||
* @return The maximum speed the engine has.
|
* @return The maximum speed the engine has.
|
||||||
* @note The speed is in OpenTTD's internal speed unit.
|
* @note The speed is in OpenTTD's internal speed unit.
|
||||||
* This is mph / 1.6, which is roughly km/h.
|
* This is mph / 1.6, which is roughly km/h.
|
||||||
|
|
|
@ -291,7 +291,7 @@ public:
|
||||||
* @param station_id The airport to modify.
|
* @param station_id The airport to modify.
|
||||||
* @pre IsValidStation(station_id).
|
* @pre IsValidStation(station_id).
|
||||||
* @pre HasStationType(station_id, STATION_AIRPORT).
|
* @pre HasStationType(station_id, STATION_AIRPORT).
|
||||||
* @return True if the state could be toggled.
|
* @return True if the state was toggled successfully.
|
||||||
*/
|
*/
|
||||||
static bool OpenCloseAirport(StationID station_id);
|
static bool OpenCloseAirport(StationID station_id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue