![]() |
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) |
![]() | |
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 cTerrainShapeGenPtr | CreateShapeGen (cIniFile &a_IniFile, cBiomeGenPtr 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 72 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 127 of file Noise3DGenerator.h.
|
protected |
Definition at line 115 of file Noise3DGenerator.h.
|
protected |
Definition at line 106 of file Noise3DGenerator.h.
|
protected |
Definition at line 107 of file Noise3DGenerator.h.
|
protected |
Heightmap-like noise used to provide variance for low-amplitude biomes.
Definition at line 91 of file Noise3DGenerator.h.
|
protected |
Definition at line 110 of file Noise3DGenerator.h.
|
protected |
Definition at line 111 of file Noise3DGenerator.h.
|
protected |
Definition at line 112 of file Noise3DGenerator.h.
|
protected |
The 3D noise that is used to choose between density noise A and B.
Definition at line 82 of file Noise3DGenerator.h.
|
protected |
Density 3D noise, variant A.
Definition at line 85 of file Noise3DGenerator.h.
|
protected |
Density 3D noise, variant B.
Definition at line 88 of file Noise3DGenerator.h.
|
protected |
Definition at line 101 of file Noise3DGenerator.h.
|
protected |
Definition at line 102 of file Noise3DGenerator.h.
|
protected |
Definition at line 103 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 95 of file Noise3DGenerator.h.
|
protected |
Definition at line 118 of file Noise3DGenerator.h.
|
protected |
Where the vertical "center" of the noise should be, as block height.
Definition at line 98 of file Noise3DGenerator.h.
|
protected |
Definition at line 119 of file Noise3DGenerator.h.