summaryrefslogtreecommitdiff
path: root/src/script/api/script_object.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-03-04 16:54:12 +0000
committerrubidium <rubidium@openttd.org>2012-03-04 16:54:12 +0000
commit22637f139fa73dc526982fdbe3ba79d8bfef438a (patch)
tree0c3a16d254e5992cade4d325bb3876ff4a37b3a3 /src/script/api/script_object.hpp
parente6a828def1b25671b4115903cb81d97c4e2348d6 (diff)
downloadopenttd-22637f139fa73dc526982fdbe3ba79d8bfef438a.tar.xz
(svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs
Diffstat (limited to 'src/script/api/script_object.hpp')
-rw-r--r--src/script/api/script_object.hpp10
1 files changed, 5 insertions, 5 deletions
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();