summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.h
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-01-18 19:38:02 +0100
committerandrew <xdotftw@gmail.com>2014-01-18 19:38:02 +0100
commit992053b32ae106c8ee78fbdfcd4e9c7b44ab876a (patch)
treeada2032ec55148fe1ac4713c325ed85214ce756a /src/Generating/FinishGen.h
parentParse the MC|AdvCdm plugin message (diff)
parentAlpha-sorted the finishers. (diff)
downloadcuberite-992053b32ae106c8ee78fbdfcd4e9c7b44ab876a.tar
cuberite-992053b32ae106c8ee78fbdfcd4e9c7b44ab876a.tar.gz
cuberite-992053b32ae106c8ee78fbdfcd4e9c7b44ab876a.tar.bz2
cuberite-992053b32ae106c8ee78fbdfcd4e9c7b44ab876a.tar.lz
cuberite-992053b32ae106c8ee78fbdfcd4e9c7b44ab876a.tar.xz
cuberite-992053b32ae106c8ee78fbdfcd4e9c7b44ab876a.tar.zst
cuberite-992053b32ae106c8ee78fbdfcd4e9c7b44ab876a.zip
Diffstat (limited to 'src/Generating/FinishGen.h')
-rw-r--r--src/Generating/FinishGen.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h
index d89ffed15..2e5732929 100644
--- a/src/Generating/FinishGen.h
+++ b/src/Generating/FinishGen.h
@@ -47,6 +47,28 @@ protected:
+class cFinishGenNetherClumpFoliage :
+ public cFinishGen
+{
+public:
+ cFinishGenNetherClumpFoliage(int a_Seed) :
+ m_Noise(a_Seed),
+ m_Seed(a_Seed)
+ {
+ }
+
+protected:
+ cNoise m_Noise;
+ int m_Seed;
+
+ void TryPlaceClump(cChunkDesc & a_ChunkDesc, int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_Block);
+ virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
+} ;
+
+
+
+
+
class cFinishGenSprinkleFoliage :
public cFinishGen
{
@@ -117,6 +139,7 @@ public:
{
}
+ int GetLevel(void) const { return m_Level; }
protected:
int m_Level;