summaryrefslogtreecommitdiffstats
path: root/Tools/BiomeVisualiser/BiomeViewWnd.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-28 19:58:20 +0100
committermadmaxoft <github@xoft.cz>2013-11-28 20:00:30 +0100
commitbdd86d7934e95ee1db54531b51431554d5b91796 (patch)
tree7a7c8b58d6f33f0ee3bdfda2e717d4d56ed36b72 /Tools/BiomeVisualiser/BiomeViewWnd.cpp
parentBiomeVisualiser: The biome settings are read from a file. (diff)
downloadcuberite-bdd86d7934e95ee1db54531b51431554d5b91796.tar
cuberite-bdd86d7934e95ee1db54531b51431554d5b91796.tar.gz
cuberite-bdd86d7934e95ee1db54531b51431554d5b91796.tar.bz2
cuberite-bdd86d7934e95ee1db54531b51431554d5b91796.tar.lz
cuberite-bdd86d7934e95ee1db54531b51431554d5b91796.tar.xz
cuberite-bdd86d7934e95ee1db54531b51431554d5b91796.tar.zst
cuberite-bdd86d7934e95ee1db54531b51431554d5b91796.zip
Diffstat (limited to '')
-rw-r--r--Tools/BiomeVisualiser/BiomeViewWnd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/BiomeVisualiser/BiomeViewWnd.cpp b/Tools/BiomeVisualiser/BiomeViewWnd.cpp
index 459a4323c..8f8849663 100644
--- a/Tools/BiomeVisualiser/BiomeViewWnd.cpp
+++ b/Tools/BiomeVisualiser/BiomeViewWnd.cpp
@@ -84,6 +84,10 @@ void cBiomeViewWnd::InitBiomeView(void)
{
m_BiomeGen = new cBioGenDistortedVoronoi(Seed);
}
+ else if (NoCaseCompare(BiomeGenName, "twolevel") == 0)
+ {
+ m_BiomeGen = new cBioGenTwoLevel(Seed);
+ }
else
{
if (NoCaseCompare(BiomeGenName, "multistepmap") != 0)