diff options
author | truebrain <truebrain@openttd.org> | 2011-11-29 23:15:35 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-11-29 23:15:35 +0000 |
commit | 98103121d4f2ed1f1581919b7b1f343ccd410c12 (patch) | |
tree | 1e760dd6517a6b0f9fb669ec277139a8e3f9a4a3 /src/script/api/script_basestation.hpp | |
parent | afdb67a3534f85b4efbd3327ece8137211042d7b (diff) | |
download | openttd-98103121d4f2ed1f1581919b7b1f343ccd410c12.tar.xz |
(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
Diffstat (limited to 'src/script/api/script_basestation.hpp')
-rw-r--r-- | src/script/api/script_basestation.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/api/script_basestation.hpp b/src/script/api/script_basestation.hpp index b26dbaecc..8399067e3 100644 --- a/src/script/api/script_basestation.hpp +++ b/src/script/api/script_basestation.hpp @@ -17,7 +17,7 @@ /** * Base class for stations and waypoints. */ -class AIBaseStation : public AIObject { +class ScriptBaseStation : public ScriptObject { public: /** * Special station IDs for building adjacent/new stations when @@ -52,7 +52,7 @@ public: * @pre IsValidBaseStation(station_id). * @pre 'name' must have at least one character. * @pre 'name' must have at most 30 characters. - * @exception AIError::ERR_NAME_IS_NOT_UNIQUE + * @exception ScriptError::ERR_NAME_IS_NOT_UNIQUE * @return True if the name was changed. */ static bool SetName(StationID station_id, const char *name); @@ -63,7 +63,7 @@ public: * @pre IsValidBaseStation(station_id). * @return The tile the basestation sign above it. * @note The tile is not necessarily a station tile (and if it is, it could also belong to another station). - * @see AITileList_StationType. + * @see ScriptTileList_StationType. */ static TileIndex GetLocation(StationID station_id); |