From 7387f0565028e309cafa17f43f1507078594ddaa Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 24 Apr 2013 20:30:30 +0000 Subject: Added the initial version of DirectOverhangs git-svn-id: http://mc-server.googlecode.com/svn/trunk@1411 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Generating/StructGen.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'source/Generating/StructGen.h') diff --git a/source/Generating/StructGen.h b/source/Generating/StructGen.h index 44f2fc213..907c66544 100644 --- a/source/Generating/StructGen.h +++ b/source/Generating/StructGen.h @@ -123,3 +123,23 @@ protected: + +class cStructGenDirectOverhangs : + public cStructureGen +{ +public: + cStructGenDirectOverhangs(int a_Seed); + +protected: + cNoise m_Noise1; + cNoise m_Noise2; + + // cStructureGen override: + virtual void GenStructures(cChunkDesc & a_ChunkDesc) override; + + bool HasWantedBiome(cChunkDesc & a_ChunkDesc) const; +} ; + + + + -- cgit v1.2.3