#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 285 of file BioGen.h.
◆ Super
◆ cBioGenTwoLevel()
cBioGenTwoLevel::cBioGenTwoLevel |
( |
int |
a_Seed | ) |
|
◆ GenBiomes()
◆ InitializeBiomeGen()
void cBioGenTwoLevel::InitializeBiomeGen |
( |
cIniFile & |
a_IniFile | ) |
|
|
overrideprotectedvirtual |
Reads parameters from the ini file, prepares generator for use.
Reimplemented from cBiomeGen.
Definition at line 903 of file BioGen.cpp.
◆ SelectBiome()
EMCSBiome cBioGenTwoLevel::SelectBiome |
( |
int |
a_BiomeGroup, |
|
|
size_t |
a_BiomeIdx, |
|
|
int |
a_DistLevel |
|
) |
| |
|
protected |
Selects biome from the specified biome group, based on the specified index.
Note that both params may overflow a_DistLevel is either 0 or 1; zero when it is at the edge of the small Voronoi cell, 1 near the center
Definition at line 790 of file BioGen.cpp.
◆ m_AmpX1
float cBioGenTwoLevel::m_AmpX1 |
|
protected |
◆ m_AmpX2
float cBioGenTwoLevel::m_AmpX2 |
|
protected |
◆ m_AmpX3
float cBioGenTwoLevel::m_AmpX3 |
|
protected |
◆ m_AmpZ1
float cBioGenTwoLevel::m_AmpZ1 |
|
protected |
◆ m_AmpZ2
float cBioGenTwoLevel::m_AmpZ2 |
|
protected |
◆ m_AmpZ3
float cBioGenTwoLevel::m_AmpZ3 |
|
protected |
◆ m_FreqX1
float cBioGenTwoLevel::m_FreqX1 |
|
protected |
◆ m_FreqX2
float cBioGenTwoLevel::m_FreqX2 |
|
protected |
◆ m_FreqX3
float cBioGenTwoLevel::m_FreqX3 |
|
protected |
◆ m_FreqZ1
float cBioGenTwoLevel::m_FreqZ1 |
|
protected |
◆ m_FreqZ2
float cBioGenTwoLevel::m_FreqZ2 |
|
protected |
◆ m_FreqZ3
float cBioGenTwoLevel::m_FreqZ3 |
|
protected |
◆ m_Noise1
cNoise cBioGenTwoLevel::m_Noise1 |
|
protected |
◆ m_Noise2
cNoise cBioGenTwoLevel::m_Noise2 |
|
protected |
◆ m_Noise3
cNoise cBioGenTwoLevel::m_Noise3 |
|
protected |
◆ m_Noise4
cNoise cBioGenTwoLevel::m_Noise4 |
|
protected |
◆ m_Noise5
cNoise cBioGenTwoLevel::m_Noise5 |
|
protected |
◆ m_Noise6
cNoise cBioGenTwoLevel::m_Noise6 |
|
protected |
◆ m_VoronoiLarge
The Voronoi map that decides the groups of biomes.
Definition at line 296 of file BioGen.h.
◆ m_VoronoiSmall
The Voronoi map that decides biomes inside individual biome groups.
Definition at line 299 of file BioGen.h.
The documentation for this class was generated from the following files: