summaryrefslogtreecommitdiffstats
path: root/source/Generating/ComposableGenerator.cpp
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/ComposableGenerator.cpp
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/ComposableGenerator.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Generating/ComposableGenerator.cpp b/source/Generating/ComposableGenerator.cpp
index 71c4005ef..8c2d2d3c1 100644
--- a/source/Generating/ComposableGenerator.cpp
+++ b/source/Generating/ComposableGenerator.cpp
@@ -356,6 +356,10 @@ void cComposableGenerator::InitStructureGens(cIniFile & a_IniFile)
float Threshold = (float)a_IniFile.GetValueSetF("Generator", "DualRidgeCavesThreshold", 0.3);
m_StructureGens.push_back(new cStructGenDualRidgeCaves(Seed, Threshold));
}
+ else if (NoCaseCompare(*itr, "DirectOverhangs") == 0)
+ {
+ m_StructureGens.push_back(new cStructGenDirectOverhangs(Seed));
+ }
else if (NoCaseCompare(*itr, "LavaLakes") == 0)
{
int Probability = a_IniFile.GetValueSetI("Generator", "LavaLakesProbability", 10);