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_airport.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_airport.hpp')
-rw-r--r-- | src/script/api/script_airport.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/script/api/script_airport.hpp b/src/script/api/script_airport.hpp index 42041204c..c4bb627a0 100644 --- a/src/script/api/script_airport.hpp +++ b/src/script/api/script_airport.hpp @@ -17,7 +17,7 @@ /** * Class that handles all airport related functions. - * @api ai + * @api ai game */ class ScriptAirport : public ScriptObject { public: @@ -150,6 +150,7 @@ public: * @exception ScriptStation::ERR_STATION_TOO_LARGE * @exception ScriptStation::ERR_STATION_TOO_CLOSE_TO_ANOTHER_STATION * @return Whether the airport has been/can be build or not. + * @api -game */ static bool BuildAirport(TileIndex tile, AirportType type, StationID station_id); @@ -159,6 +160,7 @@ public: * @pre ScriptMap::IsValidTile(tile). * @exception ScriptError::ERR_OWNED_BY_ANOTHER_COMPANY * @return Whether the airport has been/can be removed or not. + * @api -game */ static bool RemoveAirport(TileIndex tile); |