Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Public Member Functions | |
cTwoHeights (int a_Seed, cBiomeGen &a_BiomeGen) | |
virtual void | GenShape (cChunkCoords a_ChunkCoords, cChunkDesc::Shape &a_Shape) override |
Generates the shape for the given chunk. More... | |
virtual void | InitializeShapeGen (cIniFile &a_IniFile) override |
Reads parameters from the ini file, prepares generator for use. More... | |
Public Member Functions inherited from cTerrainShapeGen | |
virtual | ~cTerrainShapeGen () |
Protected Attributes | |
cOctavedNoise< cInterpolNoise< Interp5Deg > > | m_Choice |
The noise used to decide between the two heightmaps. More... | |
NOISE_DATATYPE | m_FrequencyX |
The base frequencies for m_Choice in each of the world axis directions. More... | |
NOISE_DATATYPE | m_FrequencyY |
NOISE_DATATYPE | m_FrequencyZ |
cHeiGenBiomal | m_HeightA |
The first height generator. More... | |
cHeiGenBiomal | m_HeightB |
The second height generator. More... | |
int | m_Seed |
Private Types | |
using | Super = cTerrainShapeGen |
Additional Inherited Members | |
Static Public Member Functions inherited from cTerrainShapeGen | |
static std::unique_ptr< cTerrainShapeGen > | CreateShapeGen (cIniFile &a_IniFile, cBiomeGen &a_BiomeGen, int a_Seed, bool &a_CacheOffByDefault) |
Creates the correct TerrainShapeGen descendant based on the ini file settings and the seed provided. More... | |
Definition at line 17 of file TwoHeights.cpp.
|
private |
Definition at line 20 of file TwoHeights.cpp.
|
inline |
Definition at line 24 of file TwoHeights.cpp.
|
inlineoverridevirtual |
Generates the shape for the given chunk.
Implements cTerrainShapeGen.
Definition at line 34 of file TwoHeights.cpp.
|
inlineoverridevirtual |
Reads parameters from the ini file, prepares generator for use.
Reimplemented from cTerrainShapeGen.
Definition at line 74 of file TwoHeights.cpp.
|
protected |
The noise used to decide between the two heightmaps.
Definition at line 100 of file TwoHeights.cpp.
|
protected |
The base frequencies for m_Choice in each of the world axis directions.
Definition at line 109 of file TwoHeights.cpp.
|
protected |
Definition at line 109 of file TwoHeights.cpp.
|
protected |
Definition at line 109 of file TwoHeights.cpp.
|
protected |
The first height generator.
Definition at line 103 of file TwoHeights.cpp.
|
protected |
The second height generator.
Definition at line 106 of file TwoHeights.cpp.
|
protected |
Definition at line 97 of file TwoHeights.cpp.