Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cHeiGenMountains Class Reference

#include <HeiGen.h>

Inheritance diagram for cHeiGenMountains:
Inheritance graph
[legend]
Collaboration diagram for cHeiGenMountains:
Collaboration graph
[legend]

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< cTerrainHeightGenCreateHeightGen (cIniFile &a_IniFile, cBiomeGen &a_BiomeGen, int a_Seed, bool &a_CacheOffByDefault)
 Creates a cTerrainHeightGen descendant based on the INI file settings. More...
 

Detailed Description

Definition at line 147 of file HeiGen.h.

Constructor & Destructor Documentation

◆ cHeiGenMountains()

cHeiGenMountains::cHeiGenMountains ( int  a_Seed)

Definition at line 358 of file HeiGen.cpp.

Member Function Documentation

◆ GenHeightMap()

void cHeiGenMountains::GenHeightMap ( cChunkCoords  a_ChunkCoords,
cChunkDef::HeightMap a_HeightMap 
)
overrideprotectedvirtual

Retrieves the heightmap for the specified chunk.

Implements cTerrainHeightGen.

Definition at line 370 of file HeiGen.cpp.

◆ InitializeHeightGen()

void cHeiGenMountains::InitializeHeightGen ( cIniFile a_IniFile)
overrideprotectedvirtual

Initializes the generator, reading its parameters from the INI file.

Reimplemented from cTerrainHeightGen.

Definition at line 399 of file HeiGen.cpp.

Member Data Documentation

◆ m_DitchNoise

cRidgedMultiNoise cHeiGenMountains::m_DitchNoise
protected

Definition at line 157 of file HeiGen.h.

◆ m_MountainNoise

cRidgedMultiNoise cHeiGenMountains::m_MountainNoise
protected

Definition at line 156 of file HeiGen.h.

◆ m_Perlin

cPerlinNoise cHeiGenMountains::m_Perlin
protected

Definition at line 158 of file HeiGen.h.

◆ m_Seed

int cHeiGenMountains::m_Seed
protected

Definition at line 155 of file HeiGen.h.


The documentation for this class was generated from the following files: