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:38:30 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-02 18:38:30 +0200
commit3cb643c9cbb1bc34297a3a643f0c9a4d4fc0e98d (patch)
tree523a11bebbc68d17e30e2453faf161f48b391d72 /source/ChunkDef.h
parentcBlockArea object added (with only minimal testing so far) (diff)
downloadcuberite-3cb643c9cbb1bc34297a3a643f0c9a4d4fc0e98d.tar
cuberite-3cb643c9cbb1bc34297a3a643f0c9a4d4fc0e98d.tar.gz
cuberite-3cb643c9cbb1bc34297a3a643f0c9a4d4fc0e98d.tar.bz2
cuberite-3cb643c9cbb1bc34297a3a643f0c9a4d4fc0e98d.tar.lz
cuberite-3cb643c9cbb1bc34297a3a643f0c9a4d4fc0e98d.tar.xz
cuberite-3cb643c9cbb1bc34297a3a643f0c9a4d4fc0e98d.tar.zst
cuberite-3cb643c9cbb1bc34297a3a643f0c9a4d4fc0e98d.zip
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