From e7542f676d1905e41b31b3c5b3d7108704529176 Mon Sep 17 00:00:00 2001 From: STRWarrior Date: Sun, 19 Apr 2015 19:45:18 +0200 Subject: Added GlowStone finisher --- src/Generating/FinishGen.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/Generating/FinishGen.h') diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h index 70696c4f8..02f3b98ae 100644 --- a/src/Generating/FinishGen.h +++ b/src/Generating/FinishGen.h @@ -70,6 +70,28 @@ protected: +class cFinishGenGlowStone : + public cFinishGen +{ +public: + cFinishGenGlowStone(int a_Seed) : + m_Seed(a_Seed), + m_Noise(a_Seed) + { + } + +protected: + cNoise m_Noise; + int m_Seed; + + void TryPlaceGlowstone(cChunkDesc & a_ChunkDesc, int a_RelX, int a_RelY, int a_RelZ, int a_Size, int a_NumStrings); + virtual void GenFinish(cChunkDesc & a_ChunkDesc) override; +} ; + + + + + class cFinishGenTallGrass : public cFinishGen { -- cgit v1.2.3