summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.h
diff options
context:
space:
mode:
authorDayBr3ak <benj.groeneveld@gmail.com>2014-09-01 22:33:58 +0200
committerDayBr3ak <benj.groeneveld@gmail.com>2014-09-02 01:13:19 +0200
commit77409d47eb98eb691f852728cd8e013d0fc14185 (patch)
tree9ce150da93768cbc14993e77e55bbc398df56881 /src/Generating/BioGen.h
parentadded multicache class definition (diff)
downloadcuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar.gz
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar.bz2
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar.lz
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar.xz
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar.zst
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/BioGen.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Generating/BioGen.h b/src/Generating/BioGen.h
index a53d8bca2..f9564ed24 100644
--- a/src/Generating/BioGen.h
+++ b/src/Generating/BioGen.h
@@ -84,7 +84,7 @@ class cBioGenMulticache :
typedef cBiomeGen super;
public:
- cBioGenMulticache(cBiomeGen * a_BioGenToCache, int a_CacheSize, int a_CacheLength); // Doesn't take ownership of a_BioGenToCache
+ cBioGenMulticache(cBiomeGen * a_BioGenToCache, int a_CacheSize, int a_CachesLength); // Doesn't take ownership of a_BioGenToCache
~cBioGenMulticache();
protected:
@@ -100,9 +100,9 @@ protected:
// To avoid moving large amounts of data for the MRU behavior, we MRU-ize indices to an array of the actual data
int m_CacheSize;
- int m_CacheLength;
+ int m_CachesLength;
- int **m_CachesOrder; // MRU-ized order, indices into the multiple m_CachesData array
+ int ** m_CachesOrder; // MRU-ized order, indices into the multiple m_CachesData array
sCacheData ** m_CachesData;
// Cache statistics