summaryrefslogtreecommitdiffstats
path: root/source/AllToLua.pkg
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-02 18:30:17 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-02 18:30:17 +0200
commitbf13084f1fa8560d8eda8551b74755b543c1fdd4 (patch)
treebed9baa364fdea24501049216c8867c897784242 /source/AllToLua.pkg
parentPatch from STR_Warrior, OreNest counts adjustment (diff)
downloadcuberite-bf13084f1fa8560d8eda8551b74755b543c1fdd4.tar
cuberite-bf13084f1fa8560d8eda8551b74755b543c1fdd4.tar.gz
cuberite-bf13084f1fa8560d8eda8551b74755b543c1fdd4.tar.bz2
cuberite-bf13084f1fa8560d8eda8551b74755b543c1fdd4.tar.lz
cuberite-bf13084f1fa8560d8eda8551b74755b543c1fdd4.tar.xz
cuberite-bf13084f1fa8560d8eda8551b74755b543c1fdd4.tar.zst
cuberite-bf13084f1fa8560d8eda8551b74755b543c1fdd4.zip
Diffstat (limited to 'source/AllToLua.pkg')
-rw-r--r--source/AllToLua.pkg18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/AllToLua.pkg b/source/AllToLua.pkg
index 7a5de8d49..c8d2b6384 100644
--- a/source/AllToLua.pkg
+++ b/source/AllToLua.pkg
@@ -3,6 +3,23 @@ $#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same acr
$#include "tolua_base.h"
+
+
+
+
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// NOTE: when changing the BLOCKTYPE or NIBBLETYPE types, you need to change them both in this file and in ChunkDef.h
+// (for some reason, just including the ChunkDef.h file doesn't work in ToLua)
+
+typedef char BLOCKTYPE;
+typedef unsigned char NIBBLETYPE;
+
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+
+
+
+
$cfile "cTorch.h"
$cfile "cStairs.h"
$cfile "cStep.h"
@@ -43,6 +60,7 @@ $cfile "cCuboid.h"
$cfile "cMCLogger.h"
$cfile "cTracer.h"
$cfile "cGroup.h"
+$cfile "BlockArea.h"
$cfile "packets/cPacket_Login.h"
$cfile "packets/cPacket_BlockDig.h"
$cfile "packets/cPacket_BlockPlace.h"