(svn r23357) -Codechange: move AIStorage to ScriptStorage
This commit is contained in:
@@ -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.
|
||||
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.
|
||||
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.
|
||||
|
Reference in New Issue
Block a user