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_controller.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_controller.hpp')
-rw-r--r-- | src/script/api/script_controller.hpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/script/api/script_controller.hpp b/src/script/api/script_controller.hpp index 2e0e64f2e..00993a6ff 100644 --- a/src/script/api/script_controller.hpp +++ b/src/script/api/script_controller.hpp @@ -16,23 +16,24 @@ #include <map> /** - * The Controller, the class each AI should extend. It creates the AI, makes - * sure the logic kicks in correctly, and that GetTick() has a valid value. + * The Controller, the class each Script should extend. It creates the Script, + * makes sure the logic kicks in correctly, and that GetTick() has a valid + * value. */ -class AIController { +class ScriptController { friend class AIScanner; friend class AIInstance; public: /** - * Initializer of the AIController. + * Initializer of the ScriptController. */ - AIController(); + ScriptController(); /** - * Destructor of the AIController. + * Destructor of the ScriptController. */ - ~AIController(); + ~ScriptController(); /** * This function is called to start your AI. Your AI starts here. If you @@ -105,7 +106,7 @@ public: * Squirrel calls this when 'print' is used, or when the script made an error. * @param error_msg If true, it is a Squirrel error message. * @param message The message Squirrel logged. - * @note Use AILog.Info/Warning/Error instead of 'print'. + * @note Use ScriptLog.Info/Warning/Error instead of 'print'. */ static void Print(bool error_msg, const char *message); |