summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.h
diff options
context:
space:
mode:
authorDayBr3ak <benj.groeneveld@gmail.com>2014-09-03 02:53:21 +0200
committerDayBr3ak <benj.groeneveld@gmail.com>2014-09-03 02:53:21 +0200
commit5a608dc2794aa83ab687db5ae692c2d702729668 (patch)
treeb7f9598eac94694d92988e9bcc538dfbdfb1e787 /src/Generating/BioGen.h
parentforgot this one (diff)
downloadcuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar.gz
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar.bz2
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar.lz
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar.xz
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar.zst
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/BioGen.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Generating/BioGen.h b/src/Generating/BioGen.h
index cfa748ec7..47383633f 100644
--- a/src/Generating/BioGen.h
+++ b/src/Generating/BioGen.h
@@ -87,12 +87,16 @@ class cBioGenMulticache :
typedef cBiomeGen super;
public:
+ /*
+ a_CacheSize defines the size of each singular cache
+ a_CachesLength defines how many caches are used for the multicache
+ */
cBioGenMulticache(cBiomeGen * a_BioGenToCache, size_t a_CacheSize, size_t a_CachesLength); // Doesn't take ownership of a_BioGenToCache
~cBioGenMulticache();
protected:
- size_t m_CachesLength;
- size_t m_InternalCacheLength;
+ size_t m_CachesLength;
+ size_t m_InternalCacheLength; // used internally only
std::vector<cBiomeGen*> m_Caches;
virtual void GenBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::BiomeMap & a_BiomeMap) override;