@@ -248,20 +248,20 @@ public:
* Get the PlaneType of the engine.
* @param engine_id The engine to get the PlaneType of.
* @pre IsValidEngine(engine_id).
* @pre GetVehicleType(engine_id) == ScriptVehicle::VT_AIR.
* @return The PlaneType the engine has.
*/
static ScriptAirport::PlaneType GetPlaneType(EngineID engine_id);
/**
* Get the maximum allowed distance between two orders for an engine.
* @param engine_id The engine to get the max distance for.
* @return The maximum distance between two orders for the engine
* or 0 if the distance is unlimited.
* @return The square of the maximum distance between two orders for
* the engine or 0 if the distance is unlimited.
* @see ScriptOrder::GetOrderDistance
static uint GetMaximumOrderDistance(EngineID engine_id);
};
#endif /* SCRIPT_ENGINE_HPP */