diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-24 22:30:30 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-24 22:30:30 +0200 |
commit | 7387f0565028e309cafa17f43f1507078594ddaa (patch) | |
tree | c46aa02560ced4440a6034562058f6011a8b6fe7 /source/Generating/ComposableGenerator.cpp | |
parent | MultiStepMap BiomeGen: made 3x faster by using 2D noise instead of 3D noise. (diff) | |
download | cuberite-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.cpp | 4 |
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);
|