diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-23 19:16:17 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-23 19:16:17 +0200 |
commit | 366af5067b987e7d4ad233e258b9e93d6f472afe (patch) | |
tree | 31ce4291a0b2b09250754795870ae9de5f4086f0 /src/WorldStorage/NBTChunkSerializer.h | |
parent | Merge pull request #1372 from mc-server/EntityCustomName (diff) | |
download | cuberite-366af5067b987e7d4ad233e258b9e93d6f472afe.tar cuberite-366af5067b987e7d4ad233e258b9e93d6f472afe.tar.gz cuberite-366af5067b987e7d4ad233e258b9e93d6f472afe.tar.bz2 cuberite-366af5067b987e7d4ad233e258b9e93d6f472afe.tar.lz cuberite-366af5067b987e7d4ad233e258b9e93d6f472afe.tar.xz cuberite-366af5067b987e7d4ad233e258b9e93d6f472afe.tar.zst cuberite-366af5067b987e7d4ad233e258b9e93d6f472afe.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.h | 2 |
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; |