#include <mg_biome.h>
Public Member Functions | |
virtual | ~BiomeGen ()=default |
virtual BiomeGenType | getType () const =0 |
virtual BiomeGen * | clone (BiomeManager *biomemgr) const =0 |
void | assertChunkSize (v3s16 expect) const |
virtual Biome * | calcBiomeAtPoint (v3s16 pos) const =0 |
virtual void | calcBiomeNoise (v3s16 pmin)=0 |
virtual biome_t * | getBiomes (s16 *heightmap, v3s16 pmin)=0 |
virtual Biome * | getBiomeAtPoint (v3s16 pos) const =0 |
virtual Biome * | getBiomeAtIndex (size_t index, v3s16 pos) const =0 |
virtual s16 | getNextTransitionY (s16 y) const |
Public Attributes | |
biome_t * | biomemap = nullptr |
Protected Attributes | |
BiomeManager * | m_bmgr = nullptr |
v3s16 | m_pmin |
v3s16 | m_csize |
|
virtualdefault |
|
inline |
References FATAL_ERROR_IF, and m_csize.
Referenced by MapgenBasic::MapgenBasic().
Implemented in BiomeGenOriginal.
Referenced by ModApiMapgen::l_get_biome_data().
|
pure virtual |
Implemented in BiomeGenOriginal.
Referenced by MapgenCarpathian::makeChunk(), MapgenFlat::makeChunk(), MapgenFractal::makeChunk(), MapgenV5::makeChunk(), and MapgenV7::makeChunk().
|
pure virtual |
Implemented in BiomeGenOriginal.
Referenced by EmergeParams::EmergeParams().
Implemented in BiomeGenOriginal.
Referenced by MapgenBasic::generateBiomes(), and CavesNoiseIntersection::generateCaves().
Implemented in BiomeGenOriginal.
Referenced by MapgenBasic::generateDungeons(), and CavesRandomWalk::makeCave().
Implemented in BiomeGenOriginal.
|
inlinevirtual |
Reimplemented in BiomeGenOriginal.
References S16_MIN.
Referenced by MapgenBasic::generateBiomes(), and CavesNoiseIntersection::generateCaves().
|
pure virtual |
Implemented in BiomeGenOriginal.
Referenced by MapgenValleys::MapgenValleys(), ModApiMapgen::l_get_biome_data(), ModApiMapgen::l_get_heat(), ModApiMapgen::l_get_humidity(), and ModApiMapgen::l_get_mapgen_object().
biome_t* BiomeGen::biomemap = nullptr |
|
protected |
Referenced by BiomeGenOriginal::BiomeGenOriginal(), and BiomeGenOriginal::calcBiomeFromNoise().
|
protected |
|
protected |
Referenced by BiomeGenOriginal::calcBiomeNoise(), and BiomeGenOriginal::getBiomeAtPoint().