![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <CompoGen.h>
Public Member Functions | |
cCompoGenNether (int a_Seed) | |
![]() | |
virtual | ~cTerrainCompositionGen () |
Protected Member Functions | |
virtual void | ComposeTerrain (cChunkDesc &a_ChunkDesc, const cChunkDesc::Shape &a_Shape) override |
Generates the chunk's composition into a_ChunkDesc, using the terrain shape provided in a_Shape. More... | |
virtual void | InitializeCompoGen (cIniFile &a_IniFile) override |
Reads parameters from the ini file, prepares generator for use. More... | |
Protected Attributes | |
double | m_MaxThreshold |
cNoise | m_Noise1 |
cNoise | m_Noise2 |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< cTerrainCompositionGen > | CreateCompositionGen (cIniFile &a_IniFile, cBiomeGen &a_BiomeGen, cTerrainShapeGen &a_ShapeGen, int a_Seed) |
Creates the correct TerrainCompositionGen descendant based on the ini file settings and the seed provided. More... | |
Definition at line 92 of file CompoGen.h.
cCompoGenNether::cCompoGenNether | ( | int | a_Seed | ) |
Definition at line 217 of file CompoGen.cpp.
|
overrideprotectedvirtual |
Generates the chunk's composition into a_ChunkDesc, using the terrain shape provided in a_Shape.
Is expected to fill a_ChunkDesc's heightmap with the data from a_Shape.
Implements cTerrainCompositionGen.
Definition at line 228 of file CompoGen.cpp.
|
overrideprotectedvirtual |
Reads parameters from the ini file, prepares generator for use.
Reimplemented from cTerrainCompositionGen.
Definition at line 320 of file CompoGen.cpp.
|
protected |
Definition at line 102 of file CompoGen.h.
|
protected |
Definition at line 99 of file CompoGen.h.
|
protected |
Definition at line 100 of file CompoGen.h.