summaryrefslogtreecommitdiffstats
path: root/Tools/QtBiomeVisualiser/BiomeView.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-28 20:52:04 +0100
committerMattes D <github@xoft.cz>2014-10-28 20:52:04 +0100
commitbea2edb2a9b3b3db6fd734f4e53a4d60eebc3272 (patch)
treee6da5d3cb5e45ebd3e5365cf65c71b151b836936 /Tools/QtBiomeVisualiser/BiomeView.h
parentQtBiomeVisualiser: Fixed random regions not rendered. (diff)
downloadcuberite-bea2edb2a9b3b3db6fd734f4e53a4d60eebc3272.tar
cuberite-bea2edb2a9b3b3db6fd734f4e53a4d60eebc3272.tar.gz
cuberite-bea2edb2a9b3b3db6fd734f4e53a4d60eebc3272.tar.bz2
cuberite-bea2edb2a9b3b3db6fd734f4e53a4d60eebc3272.tar.lz
cuberite-bea2edb2a9b3b3db6fd734f4e53a4d60eebc3272.tar.xz
cuberite-bea2edb2a9b3b3db6fd734f4e53a4d60eebc3272.tar.zst
cuberite-bea2edb2a9b3b3db6fd734f4e53a4d60eebc3272.zip
Diffstat (limited to '')
-rw-r--r--Tools/QtBiomeVisualiser/BiomeView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/QtBiomeVisualiser/BiomeView.h b/Tools/QtBiomeVisualiser/BiomeView.h
index 9901b8f24..cd9c7ead9 100644
--- a/Tools/QtBiomeVisualiser/BiomeView.h
+++ b/Tools/QtBiomeVisualiser/BiomeView.h
@@ -79,6 +79,9 @@ protected:
/** Data used for rendering a chunk that hasn't been loaded yet */
uchar m_EmptyChunkImage[16 * 16 * 4];
+ /** Data placeholder for chunks that aren't valid. */
+ short m_EmptyChunkBiomes[16 * 16];
+
/** Draws the specified chunk into m_Image */
void drawChunk(int a_ChunkX, int a_ChunkZ);