summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-24 21:15:39 +0200
committerMattes D <github@xoft.cz>2014-09-24 21:15:39 +0200
commit28676728155f7a98f2a713770e8a15f82726ab47 (patch)
tree6633ced6077aaa45b2735aec2a6855ce75bb3643 /src/WorldStorage/NBTChunkSerializer.h
parentQtBiomeVisualiser: Fixed MSVC path-crossing. (diff)
parentderp (diff)
downloadcuberite-28676728155f7a98f2a713770e8a15f82726ab47.tar
cuberite-28676728155f7a98f2a713770e8a15f82726ab47.tar.gz
cuberite-28676728155f7a98f2a713770e8a15f82726ab47.tar.bz2
cuberite-28676728155f7a98f2a713770e8a15f82726ab47.tar.lz
cuberite-28676728155f7a98f2a713770e8a15f82726ab47.tar.xz
cuberite-28676728155f7a98f2a713770e8a15f82726ab47.tar.zst
cuberite-28676728155f7a98f2a713770e8a15f82726ab47.zip
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.h')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.h b/src/WorldStorage/NBTChunkSerializer.h
index 4c229a65c..5ffab8cc5 100644
--- a/src/WorldStorage/NBTChunkSerializer.h
+++ b/src/WorldStorage/NBTChunkSerializer.h
@@ -59,6 +59,7 @@ class cNBTChunkSerializer :
public:
cChunkDef::BiomeMap m_Biomes;
unsigned char m_VanillaBiomes[cChunkDef::Width * cChunkDef::Width];
+ int m_VanillaHeightMap[cChunkDef::Width * cChunkDef::Width];
bool m_BiomesAreValid;
@@ -125,6 +126,7 @@ protected:
// cChunkDataSeparateCollector overrides:
virtual void LightIsValid(bool a_IsLightValid) override;
+ virtual void HeightMap(const cChunkDef::HeightMap * a_HeightMap) override;
virtual void BiomeData(const cChunkDef::BiomeMap * a_BiomeMap) override;
virtual void Entity(cEntity * a_Entity) override;
virtual void BlockEntity(cBlockEntity * a_Entity) override;