(svn r23366) -Codechange: move most of the Dummy code to script/, unifying it

This commit is contained in:
truebrain
2011-11-29 23:26:52 +00:00
parent 7050650354
commit bfbadccf69
12 changed files with 61 additions and 55 deletions

View File

@@ -35,11 +35,6 @@ private:
*/
static SQInteger _RunError(HSQUIRRELVM vm);
/**
* Get the squirrel VM. Try to avoid using this.
*/
HSQUIRRELVM GetVM() { return this->vm; }
/**
* Get the API name.
*/
@@ -67,14 +62,14 @@ protected:
static void ErrorPrintFunc(HSQUIRRELVM vm, const SQChar *s, ...);
public:
friend class AIScannerInfo;
friend class ScriptInstance;
friend class ScriptController;
friend void squirrel_register_std(Squirrel *engine);
Squirrel(const char *APIName);
~Squirrel();
/**
* Get the squirrel VM. Try to avoid using this.
*/
HSQUIRRELVM GetVM() { return this->vm; }
/**
* Load a script.
* @param script The full script-name to load.