diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-24 13:15:36 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-24 13:15:36 +0100 |
commit | 467297a922f7ce2e5623f189e25a879338263006 (patch) | |
tree | c7c9ff353e5b04235a8fccdb9fe890d7833ec3e8 /source/Generating/ChunkGenerator.cpp | |
parent | Added new statistics module to AnvilStats - cHeightMap. (diff) | |
download | cuberite-467297a922f7ce2e5623f189e25a879338263006.tar cuberite-467297a922f7ce2e5623f189e25a879338263006.tar.gz cuberite-467297a922f7ce2e5623f189e25a879338263006.tar.bz2 cuberite-467297a922f7ce2e5623f189e25a879338263006.tar.lz cuberite-467297a922f7ce2e5623f189e25a879338263006.tar.xz cuberite-467297a922f7ce2e5623f189e25a879338263006.tar.zst cuberite-467297a922f7ce2e5623f189e25a879338263006.zip |
Diffstat (limited to 'source/Generating/ChunkGenerator.cpp')
-rw-r--r-- | source/Generating/ChunkGenerator.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/Generating/ChunkGenerator.cpp b/source/Generating/ChunkGenerator.cpp index c6975ae0d..8af4f7be7 100644 --- a/source/Generating/ChunkGenerator.cpp +++ b/source/Generating/ChunkGenerator.cpp @@ -156,6 +156,11 @@ void cChunkGenerator::InitBiomeGen(cIniFile & a_IniFile) AString Biomes = a_IniFile.GetValueSet ("Generator", "VoronoiBiomes", ""); m_BiomeGen = new cBioGenVoronoi(m_Seed, CellSize, Biomes); } + else if (NoCaseCompare(BiomeGenName, "multistepmap") == 0) + { + m_BiomeGen = new cBioGenMultiStepMap(m_Seed); + ((cBioGenMultiStepMap *)m_BiomeGen)->Init(a_IniFile); + } else { if (NoCaseCompare(BiomeGenName, "distortedvoronoi") != 0) |