From f7ef93611cb2429ec3f1f5f77befcd1b5647be37 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 8 Nov 2012 19:09:35 +0000 Subject: Removed the SquirrelVM. It has been crashing the server. http://forum.mc-server.org/showthread.php?tid=610 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1024 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/squirrelbindings/SquirrelBaseClass.h | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'source/squirrelbindings/SquirrelBaseClass.h') diff --git a/source/squirrelbindings/SquirrelBaseClass.h b/source/squirrelbindings/SquirrelBaseClass.h index ef03c1a55..36f532611 100644 --- a/source/squirrelbindings/SquirrelBaseClass.h +++ b/source/squirrelbindings/SquirrelBaseClass.h @@ -1,11 +1,26 @@ + #pragma once + + + + +#ifdef USE_SQUIRREL + + + + + #include "SquirrelBindings.h" #include "../Plugin_Squirrel.h" #include "../PluginManager.h" #include "../Root.h" #include "../SquirrelCommandBinder.h" -//The baseclass for squirrel plugins + + + + +// The baseclass for squirrel plugins class cSquirrelBaseClass { public: @@ -38,4 +53,14 @@ public: protected: cPlugin_Squirrel *m_Instance; -}; \ No newline at end of file +}; + + + + + +#endif // USE_SQUIRREL + + + + -- cgit v1.2.3