(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:
rubidium
2014-05-25 19:53:46 +00:00
parent 105306609f
commit a6b4e59963
4 changed files with 44 additions and 21 deletions

View File

@@ -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 */