diff options
Diffstat (limited to 'src/script/squirrel.hpp')
-rw-r--r-- | src/script/squirrel.hpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp index 6b9c3ab70..dbccd3c08 100644 --- a/src/script/squirrel.hpp +++ b/src/script/squirrel.hpp @@ -36,11 +36,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. */ const char *GetAPIName() { return this->APIName; } @@ -67,15 +62,15 @@ 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. * @return False if loading failed. |