diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-10 16:31:45 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-10 16:31:45 +0100 |
commit | 82a06725bddd18e88db59afac65435bf3079a26b (patch) | |
tree | 245c189bd92e2bac6198813e5309b3d21465a252 /src/Generating/FinishGen.h | |
parent | Fixed recurring pattern. (diff) | |
download | cuberite-82a06725bddd18e88db59afac65435bf3079a26b.tar cuberite-82a06725bddd18e88db59afac65435bf3079a26b.tar.gz cuberite-82a06725bddd18e88db59afac65435bf3079a26b.tar.bz2 cuberite-82a06725bddd18e88db59afac65435bf3079a26b.tar.lz cuberite-82a06725bddd18e88db59afac65435bf3079a26b.tar.xz cuberite-82a06725bddd18e88db59afac65435bf3079a26b.tar.zst cuberite-82a06725bddd18e88db59afac65435bf3079a26b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/FinishGen.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h index ed7df5909..e6007a174 100644 --- a/src/Generating/FinishGen.h +++ b/src/Generating/FinishGen.h @@ -47,6 +47,27 @@ protected: +class cFinishGenNetherSprinkleFoliage : + public cFinishGen +{ +public: + cFinishGenNetherSprinkleFoliage(int a_Seed) : + m_Noise(a_Seed), + m_Seed(a_Seed) + { + } + +protected: + cNoise m_Noise; + int m_Seed; + + virtual void GenFinish(cChunkDesc & a_ChunkDesc) override; +} ; + + + + + class cFinishGenSprinkleFoliage : public cFinishGen { @@ -117,6 +138,7 @@ public: { } + int GetLevel(void) const { return m_Level; } protected: int m_Level; |