From 3cb643c9cbb1bc34297a3a643f0c9a4d4fc0e98d Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 2 Jul 2012 16:38:30 +0000 Subject: BLOCKTYPE and NIBBLETYPE are finally exported in Lua API as numbers, not usertypes git-svn-id: http://mc-server.googlecode.com/svn/trunk@642 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/AllToLua.pkg | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'source/AllToLua.pkg') diff --git a/source/AllToLua.pkg b/source/AllToLua.pkg index c8d2b6384..b6ee64579 100644 --- a/source/AllToLua.pkg +++ b/source/AllToLua.pkg @@ -3,22 +3,7 @@ $#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 "ChunkDef.h" $cfile "cTorch.h" $cfile "cStairs.h" -- cgit v1.2.3