Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <Noise3DGenerator.h>
Public Member Functions | |
cNoise3DComposable (int a_Seed) | |
void | Initialize (cIniFile &a_IniFile) |
Public Member Functions inherited from cTerrainShapeGen | |
virtual | ~cTerrainShapeGen () |
Protected Member Functions | |
void | GenerateNoiseArrayIfNeeded (cChunkCoords a_ChunkCoords) |
Generates the 3D noise array used for terrain generation (m_NoiseArray), unless the LastChunk coords are equal to coords given. More... | |
virtual void | GenShape (cChunkCoords a_ChunkCoords, cChunkDesc::Shape &a_Shape) override |
Generates the shape for the given chunk. More... | |
virtual void | InitializeShapeGen (cIniFile &a_IniFile) override |
Reads parameters from the ini file, prepares generator for use. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from cTerrainShapeGen | |
static std::unique_ptr< cTerrainShapeGen > | CreateShapeGen (cIniFile &a_IniFile, cBiomeGen &a_BiomeGen, int a_Seed, bool &a_CacheOffByDefault) |
Creates the correct TerrainShapeGen descendant based on the ini file settings and the seed provided. More... | |
Definition at line 73 of file Noise3DGenerator.h.
cNoise3DComposable::cNoise3DComposable | ( | int | a_Seed | ) |
Definition at line 350 of file Noise3DGenerator.cpp.
|
protected |
Generates the 3D noise array used for terrain generation (m_NoiseArray), unless the LastChunk coords are equal to coords given.
Definition at line 427 of file Noise3DGenerator.cpp.
|
overrideprotectedvirtual |
Generates the shape for the given chunk.
Implements cTerrainShapeGen.
Definition at line 485 of file Noise3DGenerator.cpp.
void cNoise3DComposable::Initialize | ( | cIniFile & | a_IniFile | ) |
Definition at line 374 of file Noise3DGenerator.cpp.
|
inlineoverrideprotectedvirtual |
Reads parameters from the ini file, prepares generator for use.
Reimplemented from cTerrainShapeGen.
Definition at line 128 of file Noise3DGenerator.h.
|
protected |
Definition at line 116 of file Noise3DGenerator.h.
|
protected |
Definition at line 107 of file Noise3DGenerator.h.
|
protected |
Definition at line 108 of file Noise3DGenerator.h.
|
protected |
Heightmap-like noise used to provide variance for low-amplitude biomes.
Definition at line 92 of file Noise3DGenerator.h.
|
protected |
Definition at line 111 of file Noise3DGenerator.h.
|
protected |
Definition at line 112 of file Noise3DGenerator.h.
|
protected |
Definition at line 113 of file Noise3DGenerator.h.
|
protected |
The 3D noise that is used to choose between density noise A and B.
Definition at line 83 of file Noise3DGenerator.h.
|
protected |
Density 3D noise, variant A.
Definition at line 86 of file Noise3DGenerator.h.
|
protected |
Density 3D noise, variant B.
Definition at line 89 of file Noise3DGenerator.h.
|
protected |
Definition at line 102 of file Noise3DGenerator.h.
|
protected |
Definition at line 103 of file Noise3DGenerator.h.
|
protected |
Definition at line 104 of file Noise3DGenerator.h.
|
protected |
The main parameter of the generator, specifies the slope of the vertical linear gradient.
A higher value means a steeper slope and a smaller total amplitude of the generated terrain.
Definition at line 96 of file Noise3DGenerator.h.
|
protected |
Definition at line 119 of file Noise3DGenerator.h.
|
protected |
Where the vertical "center" of the noise should be, as block height.
Definition at line 99 of file Noise3DGenerator.h.
|
protected |
Definition at line 120 of file Noise3DGenerator.h.