summaryrefslogtreecommitdiffstats
path: root/source/ChunkDef.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/ChunkDef.h')
-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;
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+