#include <BioGen.h>
|
static std::unique_ptr< cBiomeGen > | CreateBiomeGen (cIniFile &a_IniFile, int a_Seed, bool &a_CacheOffByDefault) |
| Creates the correct BiomeGen descendant based on the ini file settings. More...
|
|
Definition at line 90 of file BioGen.h.
◆ Super
◆ cBioGenMulticache()
cBioGenMulticache::cBioGenMulticache |
( |
std::unique_ptr< cBiomeGen > |
a_BioGenToCache, |
|
|
size_t |
a_SubCacheSize, |
|
|
size_t |
a_NumSubCaches |
|
) |
| |
◆ GenBiomes()
◆ InitializeBiomeGen()
void cBioGenMulticache::InitializeBiomeGen |
( |
cIniFile & |
a_IniFile | ) |
|
|
overrideprotectedvirtual |
Reads parameters from the ini file, prepares generator for use.
Reimplemented from cBiomeGen.
Definition at line 168 of file BioGen.cpp.
◆ m_Caches
std::vector<std::unique_ptr<cBioGenCache> > cBioGenMulticache::m_Caches |
|
protected |
Individual sub-caches.
Definition at line 108 of file BioGen.h.
◆ m_NumSubCaches
size_t cBioGenMulticache::m_NumSubCaches |
|
protected |
Number of sub-caches.
Pulled out of m_Caches.size() for faster access.
Definition at line 105 of file BioGen.h.
◆ m_Underlying
std::unique_ptr<cBiomeGen> cBioGenMulticache::m_Underlying |
|
protected |
The underlying biome generator.
Definition at line 111 of file BioGen.h.
The documentation for this class was generated from the following files: