summaryrefslogtreecommitdiffstats
path: root/source/Generating/StructGen.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-24 22:30:30 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-24 22:30:30 +0200
commit7387f0565028e309cafa17f43f1507078594ddaa (patch)
treec46aa02560ced4440a6034562058f6011a8b6fe7 /source/Generating/StructGen.h
parentMultiStepMap BiomeGen: made 3x faster by using 2D noise instead of 3D noise. (diff)
downloadcuberite-7387f0565028e309cafa17f43f1507078594ddaa.tar
cuberite-7387f0565028e309cafa17f43f1507078594ddaa.tar.gz
cuberite-7387f0565028e309cafa17f43f1507078594ddaa.tar.bz2
cuberite-7387f0565028e309cafa17f43f1507078594ddaa.tar.lz
cuberite-7387f0565028e309cafa17f43f1507078594ddaa.tar.xz
cuberite-7387f0565028e309cafa17f43f1507078594ddaa.tar.zst
cuberite-7387f0565028e309cafa17f43f1507078594ddaa.zip
Diffstat (limited to '')
-rw-r--r--source/Generating/StructGen.h20
1 files changed, 20 insertions, 0 deletions
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;
+} ;
+
+
+
+