summaryrefslogtreecommitdiffstats
path: root/source/ChunkDef.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/ChunkDef.h')
-rw-r--r--source/ChunkDef.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/ChunkDef.h b/source/ChunkDef.h
index a9a10335c..af96c52b7 100644
--- a/source/ChunkDef.h
+++ b/source/ChunkDef.h
@@ -41,9 +41,7 @@ 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)
+// tolua_begin
/// The datatype used by blockdata
typedef char BLOCKTYPE;
@@ -54,12 +52,14 @@ typedef unsigned char NIBBLETYPE;
/// The type used by the heightmap
typedef unsigned char HEIGHTTYPE;
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// tolua_end
+
+// tolua_begin
/** Biome IDs
The first batch corresponds to the clientside biomes, used by MineCraft.
BiomeIDs over 255 are used by MCServer internally and are translated to MC biomes before sending them to client
@@ -97,6 +97,7 @@ enum EMCSBiome
biMaxBiome = biNumBiomes - 1, // The maximum biome value
} ;
+// tolua_end