![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <CompositedHeiGen.h>
Public Member Functions | |
cCompositedHeiGen (cBiomeGen &a_BiomeGen, cTerrainShapeGen &a_ShapeGen, cTerrainCompositionGen &a_CompositionGen) | |
virtual void | GenHeightMap (cChunkCoords a_ChunkCoords, cChunkDef::HeightMap &a_HeightMap) override |
Retrieves the heightmap for the specified chunk. More... | |
![]() | |
virtual HEIGHTTYPE | GetHeightAt (int a_BlockX, int a_BlockZ) |
Returns the height at the specified column. More... | |
virtual void | InitializeHeightGen (cIniFile &a_IniFile) |
Initializes the generator, reading its parameters from the INI file. More... | |
virtual | ~cTerrainHeightGen () |
Protected Attributes | |
cBiomeGen & | m_BiomeGen |
cTerrainCompositionGen & | m_CompositionGen |
cTerrainShapeGen & | m_ShapeGen |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< cTerrainHeightGen > | CreateHeightGen (cIniFile &a_IniFile, cBiomeGen &a_BiomeGen, int a_Seed, bool &a_CacheOffByDefault) |
Creates a cTerrainHeightGen descendant based on the INI file settings. More... | |
Definition at line 19 of file CompositedHeiGen.h.
|
inline |
Definition at line 23 of file CompositedHeiGen.h.
|
inlineoverridevirtual |
Retrieves the heightmap for the specified chunk.
Implements cTerrainHeightGen.
Definition at line 33 of file CompositedHeiGen.h.
|
protected |
Definition at line 45 of file CompositedHeiGen.h.
|
protected |
Definition at line 47 of file CompositedHeiGen.h.
|
protected |
Definition at line 46 of file CompositedHeiGen.h.