summaryrefslogtreecommitdiffstats
path: root/source/squirrelbindings/SquirrelBaseClass.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-08 20:09:35 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-08 20:09:35 +0100
commitf7ef93611cb2429ec3f1f5f77befcd1b5647be37 (patch)
tree37a4899bac07800f753c89d44c115b9f570455ed /source/squirrelbindings/SquirrelBaseClass.h
parentHotfix for ThuGie's crash, with a sanity check in debug mode. (diff)
downloadcuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar.gz
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar.bz2
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar.lz
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar.xz
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.tar.zst
cuberite-f7ef93611cb2429ec3f1f5f77befcd1b5647be37.zip
Diffstat (limited to 'source/squirrelbindings/SquirrelBaseClass.h')
-rw-r--r--source/squirrelbindings/SquirrelBaseClass.h29
1 files changed, 27 insertions, 2 deletions
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
+
+
+
+