From 99cb93ef6faf7e89720ca0caf5536bb488be990e Mon Sep 17 00:00:00 2001 From: truebrain Date: Tue, 29 Nov 2011 23:21:04 +0000 Subject: (svn r23357) -Codechange: move AIStorage to ScriptStorage --- src/ai/ai_instance.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/ai/ai_instance.hpp') diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp index 4e6598342..3f120a385 100644 --- a/src/ai/ai_instance.hpp +++ b/src/ai/ai_instance.hpp @@ -111,7 +111,7 @@ public: /** * Get the storage of this AI. */ - class AIStorage *GetStorage(); + class ScriptStorage *GetStorage(); /** * Get the log pointer of this AI. @@ -202,15 +202,15 @@ public: private: 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. - - bool is_started; ///< Is the AIs constructor executed? - bool is_dead; ///< True if the AI has been stopped. - bool is_save_data_on_stack; ///< Is the save data still on the squirrel stack? - int suspend; ///< The amount of ticks to suspend this AI before it's allowed to continue. - AISuspendCallbackProc *callback; ///< Callback that should be called in the next tick the AI runs. + class ScriptStorage *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. + + bool is_started; ///< Is the AIs constructor executed? + bool is_dead; ///< True if the AI has been stopped. + bool is_save_data_on_stack; ///< Is the save data still on the squirrel stack? + int suspend; ///< The amount of ticks to suspend this AI before it's allowed to continue. + AISuspendCallbackProc *callback; ///< Callback that should be called in the next tick the AI runs. /** * Register all API functions to the VM. -- cgit v1.2.3-54-g00ecf