From 98103121d4f2ed1f1581919b7b1f343ccd410c12 Mon Sep 17 00:00:00 2001 From: truebrain Date: Tue, 29 Nov 2011 23:15:35 +0000 Subject: (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) --- src/ai/ai_instance.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ai/ai_instance.hpp') diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp index 085e2cbca..4e6598342 100644 --- a/src/ai/ai_instance.hpp +++ b/src/ai/ai_instance.hpp @@ -77,8 +77,8 @@ private: /** Runtime information about an AI like a pointer to the squirrel vm and the current state. */ class AIInstance { public: - friend class AIObject; - friend class AIController; + friend class ScriptObject; + friend class ScriptController; /** * Create a new AI. @@ -141,7 +141,7 @@ public: /** * Get the controller attached to the instance. */ - class AIController *GetController() { return controller; } + class ScriptController *GetController() { return controller; } /** * Return the "this AI died" value @@ -198,10 +198,10 @@ public: * Insert an event for this AI. * @param event The event to insert. */ - void InsertEvent(class AIEvent *event); + void InsertEvent(class ScriptEvent *event); private: - class AIController *controller; ///< The AI main class. + class ScriptController *controller; ///< The AI main class. class AIStorage *storage; ///< Some global information for each running AI. class Squirrel *engine; ///< A wrapper around the squirrel vm. SQObject *instance; ///< Squirrel-pointer to the AI main class. -- cgit v1.2.3-54-g00ecf