From 22637f139fa73dc526982fdbe3ba79d8bfef438a Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 4 Mar 2012 16:54:12 +0000 Subject: (svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs --- src/script/api/script_object.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/script/api/script_object.hpp') diff --git a/src/script/api/script_object.hpp b/src/script/api/script_object.hpp index ba90f0c79..a2631dd3d 100644 --- a/src/script/api/script_object.hpp +++ b/src/script/api/script_object.hpp @@ -67,7 +67,7 @@ public: protected: /** - * Executes a raw DoCommand for the AI. + * Executes a raw DoCommand for the script. */ static bool DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint cmd, const char *text = NULL, Script_SuspendCallbackProc *callback = NULL); @@ -117,17 +117,17 @@ protected: static RailType GetRailType(); /** - * Set the current mode of your AI to this proc. + * Set the current mode of your script to this proc. */ static void SetDoCommandMode(ScriptModeProc *proc, ScriptObject *instance); /** - * Get the current mode your AI is currently under. + * Get the current mode your script is currently under. */ static ScriptModeProc *GetDoCommandMode(); /** - * Get the instance of the current mode your AI is currently under. + * Get the instance of the current mode your script is currently under. */ static ScriptObject *GetDoCommandModeInstance(); @@ -223,7 +223,7 @@ protected: static int GetCallbackVariable(int index); /** - * Can we suspend the AI at this moment? + * Can we suspend the script at this moment? */ static bool CanSuspend(); -- cgit v1.2.3-54-g00ecf