mirror of https://github.com/OpenTTD/OpenTTD
Change: Allow GS access to ScriptGameSettings.IsDisabledVehicleType
parent
fd26a44c9e
commit
f225f36c3d
|
@ -44,6 +44,7 @@
|
||||||
* \li GSCompany::SetAutoRenewStatus
|
* \li GSCompany::SetAutoRenewStatus
|
||||||
* \li GSCompany::SetAutoRenewMonths
|
* \li GSCompany::SetAutoRenewMonths
|
||||||
* \li GSCompany::SetAutoRenewMoney
|
* \li GSCompany::SetAutoRenewMoney
|
||||||
|
* \li GSGameSettings::IsDisabledVehicleType
|
||||||
*
|
*
|
||||||
* API removals:
|
* API removals:
|
||||||
* \li GSError::ERR_PRECONDITION_TOO_MANY_PARAMETERS, that error is never returned anymore.
|
* \li GSError::ERR_PRECONDITION_TOO_MANY_PARAMETERS, that error is never returned anymore.
|
||||||
|
|
|
@ -75,7 +75,6 @@ public:
|
||||||
* Checks whether the given vehicle-type is disabled for companies.
|
* Checks whether the given vehicle-type is disabled for companies.
|
||||||
* @param vehicle_type The vehicle-type to check.
|
* @param vehicle_type The vehicle-type to check.
|
||||||
* @return True if the vehicle-type is disabled.
|
* @return True if the vehicle-type is disabled.
|
||||||
* @api -game
|
|
||||||
*/
|
*/
|
||||||
static bool IsDisabledVehicleType(ScriptVehicle::VehicleType vehicle_type);
|
static bool IsDisabledVehicleType(ScriptVehicle::VehicleType vehicle_type);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue