summaryrefslogtreecommitdiffstats
path: root/source/Generating/HeiGen.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-05 18:27:08 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-05 18:27:08 +0200
commit270560a198db49464a5a5a6d75d9650a30208bc7 (patch)
treea1ab9162becfd1b0888a0beb359d09edb228093f /source/Generating/HeiGen.h
parentLighting: Fixed underwater lighting (FS #369) (diff)
downloadcuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar.gz
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar.bz2
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar.lz
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar.xz
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar.zst
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.zip
Diffstat (limited to '')
-rw-r--r--source/Generating/HeiGen.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Generating/HeiGen.h b/source/Generating/HeiGen.h
index a883330b3..3bdfef993 100644
--- a/source/Generating/HeiGen.h
+++ b/source/Generating/HeiGen.h
@@ -47,6 +47,9 @@ public:
cHeiGenCache(cTerrainHeightGen * a_HeiGenToCache, int a_CacheSize); // Takes ownership of a_HeiGenToCache
~cHeiGenCache();
+ // cTerrainHeightGen override:
+ virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override;
+
protected:
cTerrainHeightGen * m_HeiGenToCache;
@@ -67,8 +70,6 @@ protected:
int m_NumHits;
int m_NumMisses;
int m_TotalChain; // Number of cache items walked to get to a hit (only added for hits)
-
- virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override;
} ;