diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 20:57:34 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 20:57:34 +0000 |
commit | 9359c6fc47f6fabddc399d044ea74dc6ebfdfb05 (patch) | |
tree | 0e29635b5f349432059dc99b36df10aac24981f8 /src/script/api/script_basestation.hpp | |
parent | 436cf09923d881f3c11c8a4b6262c0a89ad1ee73 (diff) | |
download | openttd-9359c6fc47f6fabddc399d044ea74dc6ebfdfb05.tar.xz |
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
Diffstat (limited to 'src/script/api/script_basestation.hpp')
-rw-r--r-- | src/script/api/script_basestation.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/api/script_basestation.hpp b/src/script/api/script_basestation.hpp index b5d5e6f78..c7b462f7e 100644 --- a/src/script/api/script_basestation.hpp +++ b/src/script/api/script_basestation.hpp @@ -16,7 +16,7 @@ /** * Base class for stations and waypoints. - * @api ai + * @api ai game */ class ScriptBaseStation : public ScriptObject { public: @@ -55,6 +55,7 @@ public: * @pre 'name' must have at most 30 characters. * @exception ScriptError::ERR_NAME_IS_NOT_UNIQUE * @return True if the name was changed. + * @api -game */ static bool SetName(StationID station_id, const char *name); |