Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <HeiGen.h>
Public Member Functions | |
cHeiGenFlat (void) | |
Public Member Functions inherited from cTerrainHeightGen | |
virtual HEIGHTTYPE | GetHeightAt (int a_BlockX, int a_BlockZ) |
Returns the height at the specified column. More... | |
virtual | ~cTerrainHeightGen () |
Protected Member Functions | |
virtual void | GenHeightMap (cChunkCoords a_ChunkCoords, cChunkDef::HeightMap &a_HeightMap) override |
Retrieves the heightmap for the specified chunk. More... | |
virtual void | InitializeHeightGen (cIniFile &a_IniFile) override |
Initializes the generator, reading its parameters from the INI file. More... | |
Protected Attributes | |
HEIGHTTYPE | m_Height |
Additional Inherited Members | |
Static Public Member Functions inherited from cTerrainHeightGen | |
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... | |
|
overrideprotectedvirtual |
Retrieves the heightmap for the specified chunk.
Implements cTerrainHeightGen.
Definition at line 84 of file HeiGen.cpp.
|
overrideprotectedvirtual |
Initializes the generator, reading its parameters from the INI file.
Reimplemented from cTerrainHeightGen.
Definition at line 97 of file HeiGen.cpp.
|
protected |