diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 20:57:23 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 20:57:23 +0000 |
commit | 436cf09923d881f3c11c8a4b6262c0a89ad1ee73 (patch) | |
tree | 8c96fbae532958e5cecfd0370387f26fcb837037 /src/script/api/script_gamesettings.hpp | |
parent | 1616961ea2c1fa84c41d7df9af535fbb190d2c41 (diff) | |
download | openttd-436cf09923d881f3c11c8a4b6262c0a89ad1ee73.tar.xz |
(svn r23614) -Add: more API functions exposed to NoGo (part 1)
Diffstat (limited to 'src/script/api/script_gamesettings.hpp')
-rw-r--r-- | src/script/api/script_gamesettings.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/api/script_gamesettings.hpp b/src/script/api/script_gamesettings.hpp index 4cf85c00f..217748571 100644 --- a/src/script/api/script_gamesettings.hpp +++ b/src/script/api/script_gamesettings.hpp @@ -16,7 +16,7 @@ /** * Class that handles all game settings related functions. - * @api ai + * @api ai game * * @note ScriptGameSettings::IsValid and ScriptGameSettings::GetValue are functions * that rely on the settings as OpenTTD stores them in savegame and @@ -65,6 +65,7 @@ public: * Checks whether the given vehicle-type is disabled for AIs. * @param vehicle_type The vehicle-type to check. * @return True if the vehicle-type is disabled. + * @api -game */ static bool IsDisabledVehicleType(ScriptVehicle::VehicleType vehicle_type); }; |