From bf13084f1fa8560d8eda8551b74755b543c1fdd4 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 2 Jul 2012 16:30:17 +0000 Subject: cBlockArea object added (with only minimal testing so far) git-svn-id: http://mc-server.googlecode.com/svn/trunk@641 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/AllToLua.pkg | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'source/AllToLua.pkg') 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" -- cgit v1.2.3