summaryrefslogtreecommitdiffstats
path: root/source/ChunkDef.h
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/ChunkDef.h
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 '')
-rw-r--r--source/ChunkDef.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/ChunkDef.h b/source/ChunkDef.h
index 90ca84a1c..a9a10335c 100644
--- a/source/ChunkDef.h
+++ b/source/ChunkDef.h
@@ -41,6 +41,10 @@ typedef std::list<cBlockEntity *> cBlockEntityList;
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// NOTE: when changing the BLOCKTYPE or NIBBLETYPE types, you need to change them both in this file and in AllToLua.pkg
+// (for some reason, just including the ChunkDef.h file in AllToLua.pkg doesn't work in ToLua)
+
/// The datatype used by blockdata
typedef char BLOCKTYPE;
@@ -50,6 +54,8 @@ typedef unsigned char NIBBLETYPE;
/// The type used by the heightmap
typedef unsigned char HEIGHTTYPE;
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+