Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <HeiGen.h>
Public Member Functions | |
cHeiGenMountains (int a_Seed) | |
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 | |
cRidgedMultiNoise | m_DitchNoise |
cRidgedMultiNoise | m_MountainNoise |
cPerlinNoise | m_Perlin |
int | m_Seed |
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... | |
cHeiGenMountains::cHeiGenMountains | ( | int | a_Seed | ) |
Definition at line 358 of file HeiGen.cpp.
|
overrideprotectedvirtual |
Retrieves the heightmap for the specified chunk.
Implements cTerrainHeightGen.
Definition at line 370 of file HeiGen.cpp.
|
overrideprotectedvirtual |
Initializes the generator, reading its parameters from the INI file.
Reimplemented from cTerrainHeightGen.
Definition at line 399 of file HeiGen.cpp.
|
protected |
|
protected |
|
protected |