summaryrefslogtreecommitdiffstats
path: root/source/Generating/ChunkGenerator.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-27 15:38:40 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-27 15:38:40 +0200
commitfb58acf27c5d30642c85dfbaf9f10e90f8b23e71 (patch)
tree7c4487c47d940502d82fe0577156d763a4b37ede /source/Generating/ChunkGenerator.cpp
parentFixed a few possible crashes with out-of-bounds Y coords (diff)
downloadcuberite-fb58acf27c5d30642c85dfbaf9f10e90f8b23e71.tar
cuberite-fb58acf27c5d30642c85dfbaf9f10e90f8b23e71.tar.gz
cuberite-fb58acf27c5d30642c85dfbaf9f10e90f8b23e71.tar.bz2
cuberite-fb58acf27c5d30642c85dfbaf9f10e90f8b23e71.tar.lz
cuberite-fb58acf27c5d30642c85dfbaf9f10e90f8b23e71.tar.xz
cuberite-fb58acf27c5d30642c85dfbaf9f10e90f8b23e71.tar.zst
cuberite-fb58acf27c5d30642c85dfbaf9f10e90f8b23e71.zip
Diffstat (limited to '')
-rw-r--r--source/Generating/ChunkGenerator.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Generating/ChunkGenerator.cpp b/source/Generating/ChunkGenerator.cpp
index 7da7af69d..a4717380d 100644
--- a/source/Generating/ChunkGenerator.cpp
+++ b/source/Generating/ChunkGenerator.cpp
@@ -8,6 +8,7 @@
#include "../PluginManager.h"
#include "ChunkDesc.h"
#include "ComposableGenerator.h"
+#include "Noise3DGenerator.h"
@@ -53,9 +54,9 @@ bool cChunkGenerator::Start(cWorld * a_World, cIniFile & a_IniFile)
m_Seed = a_IniFile.GetValueSetI("Seed", "Seed", rnd.randInt());
AString GeneratorName = a_IniFile.GetValueSet("Generator", "Generator", "Composable");
- if (NoCaseCompare(GeneratorName, "RoughHills") == 0)
+ if (NoCaseCompare(GeneratorName, "Noise3D") == 0)
{
- // TODO
+ m_Generator = new cNoise3DGenerator(*this);
}
else
{