(svn r26617) -Fix [FS#5973]: [Script] Loading/parsing of info .nuts was done in the same VM, causing e.g. constants to break the loading of info of other scripts
This commit is contained in:
@@ -41,6 +41,11 @@ private:
|
||||
*/
|
||||
const char *GetAPIName() { return this->APIName; }
|
||||
|
||||
/** Perform all initialization steps to create the engine. */
|
||||
void Initialize();
|
||||
/** Perform all the cleanups for the engine. */
|
||||
void Uninitialize();
|
||||
|
||||
protected:
|
||||
/**
|
||||
* The CompileError handler.
|
||||
@@ -248,11 +253,6 @@ public:
|
||||
*/
|
||||
bool HasScriptCrashed();
|
||||
|
||||
/**
|
||||
* Reset the crashed status.
|
||||
*/
|
||||
void ResetCrashed();
|
||||
|
||||
/**
|
||||
* Set the script status to crashed.
|
||||
*/
|
||||
@@ -267,6 +267,11 @@ public:
|
||||
* How many operations can we execute till suspension?
|
||||
*/
|
||||
SQInteger GetOpsTillSuspend();
|
||||
|
||||
/**
|
||||
* Completely reset the engine; start from scratch.
|
||||
*/
|
||||
void Reset();
|
||||
};
|
||||
|
||||
#endif /* SQUIRREL_HPP */
|
||||
|
Reference in New Issue
Block a user