diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-05 13:42:09 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-05 13:42:09 +0200 |
commit | d303a60e110bbecd29ab65fb6173e77891a413e6 (patch) | |
tree | f0afdd57e46f06b553d133c01a57dff5711aa845 /source/Generating/ChunkDesc.h | |
parent | Entity: Now entites inside a cobweb slow down their speed (diff) | |
download | cuberite-d303a60e110bbecd29ab65fb6173e77891a413e6.tar cuberite-d303a60e110bbecd29ab65fb6173e77891a413e6.tar.gz cuberite-d303a60e110bbecd29ab65fb6173e77891a413e6.tar.bz2 cuberite-d303a60e110bbecd29ab65fb6173e77891a413e6.tar.lz cuberite-d303a60e110bbecd29ab65fb6173e77891a413e6.tar.xz cuberite-d303a60e110bbecd29ab65fb6173e77891a413e6.tar.zst cuberite-d303a60e110bbecd29ab65fb6173e77891a413e6.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Generating/ChunkDesc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/Generating/ChunkDesc.h b/source/Generating/ChunkDesc.h index a25d0a720..bc952fbe4 100644 --- a/source/Generating/ChunkDesc.h +++ b/source/Generating/ChunkDesc.h @@ -183,6 +183,11 @@ public: /// Compresses the metas from the BlockArea format (1 meta per byte) into regular format (2 metas per byte) void CompressBlockMetas(cChunkDef::BlockNibbles & a_DestMetas); + #ifdef _DEBUG + /// Verifies that the heightmap corresponds to blocktype contents; if not, asserts on that column + void VerifyHeightmap(void); + #endif // _DEBUG + private: int m_ChunkX; int m_ChunkZ; |