![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <BioGen.h>
Public Member Functions | |
cBioGenMulticache (cBiomeGenPtr a_BioGenToCache, size_t a_SubCacheSize, size_t a_NumSubCaches) | |
![]() | |
virtual | ~cBiomeGen () |
Protected Types | |
typedef std::vector< cBiomeGenPtr > | cBiomeGenPtrs |
Protected Member Functions | |
virtual void | GenBiomes (cChunkCoords a_ChunkCoords, cChunkDef::BiomeMap &a_BiomeMap) override |
Generates biomes for the given chunk. More... | |
virtual void | InitializeBiomeGen (cIniFile &a_IniFile) override |
Reads parameters from the ini file, prepares generator for use. More... | |
Protected Attributes | |
cBiomeGenPtrs | m_Caches |
Individual sub-caches. More... | |
size_t | m_NumSubCaches |
Number of sub-caches. More... | |
Private Types | |
typedef cBiomeGen | super |
Additional Inherited Members | |
![]() | |
static cBiomeGenPtr | CreateBiomeGen (cIniFile &a_IniFile, int a_Seed, bool &a_CacheOffByDefault) |
Creates the correct BiomeGen descendant based on the ini file settings. More... | |
|
protected |
|
private |
cBioGenMulticache::cBioGenMulticache | ( | cBiomeGenPtr | a_BioGenToCache, |
size_t | a_SubCacheSize, | ||
size_t | a_NumSubCaches | ||
) |
Definition at line 142 of file BioGen.cpp.
|
overrideprotectedvirtual |
Generates biomes for the given chunk.
Implements cBiomeGen.
Definition at line 156 of file BioGen.cpp.
|
overrideprotectedvirtual |
Reads parameters from the ini file, prepares generator for use.
Reimplemented from cBiomeGen.
Definition at line 168 of file BioGen.cpp.
|
protected |
|
protected |