diff options
author | Mattes D <github@xoft.cz> | 2014-11-23 18:16:20 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-11-23 18:16:20 +0100 |
commit | 478bbad5ede86ec9f89444bdd60471ab314bf65a (patch) | |
tree | fe8f40375167fb2cb5c394d20f1bc1ec5da58fca /src/Generating/ShapeGen.cpp | |
parent | Noise3D generator: Enlarged averaging to avoid steep beach slopes. (diff) | |
download | cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar.gz cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar.bz2 cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar.lz cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar.xz cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.tar.zst cuberite-478bbad5ede86ec9f89444bdd60471ab314bf65a.zip |
Diffstat (limited to 'src/Generating/ShapeGen.cpp')
-rw-r--r-- | src/Generating/ShapeGen.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Generating/ShapeGen.cpp b/src/Generating/ShapeGen.cpp index 750b34e10..45a9c3b93 100644 --- a/src/Generating/ShapeGen.cpp +++ b/src/Generating/ShapeGen.cpp @@ -9,6 +9,7 @@ #include "DistortedHeightmap.h" #include "EndGen.h" #include "Noise3DGenerator.h" +#include "TwoHeights.h" @@ -121,6 +122,10 @@ cTerrainShapeGenPtr cTerrainShapeGen::CreateShapeGen(cIniFile & a_IniFile, cBiom { res = std::make_shared<cNoise3DComposable>(a_Seed); } + else if (NoCaseCompare(shapeGenName, "TwoHeights") == 0) + { + res = CreateShapeGenTwoHeights(a_Seed, a_BiomeGen); + } else { // No match found, force-set the default and retry |