summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2015-04-19 19:45:18 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2015-04-19 19:45:18 +0200
commite7542f676d1905e41b31b3c5b3d7108704529176 (patch)
tree6d6ce2ce0aa4a3ddce7ad8aab8dfd393345cd95d /src/Generating/ComposableGenerator.cpp
parentAdded extra divide operator to Vector3. (diff)
downloadcuberite-e7542f676d1905e41b31b3c5b3d7108704529176.tar
cuberite-e7542f676d1905e41b31b3c5b3d7108704529176.tar.gz
cuberite-e7542f676d1905e41b31b3c5b3d7108704529176.tar.bz2
cuberite-e7542f676d1905e41b31b3c5b3d7108704529176.tar.lz
cuberite-e7542f676d1905e41b31b3c5b3d7108704529176.tar.xz
cuberite-e7542f676d1905e41b31b3c5b3d7108704529176.tar.zst
cuberite-e7542f676d1905e41b31b3c5b3d7108704529176.zip
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-rw-r--r--src/Generating/ComposableGenerator.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index 4a670b064..846e6fe12 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -347,6 +347,10 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
AString HeightDistrib = a_IniFile.GetValueSet ("Generator", "DungeonRoomsHeightDistrib", "0, 0; 10, 10; 11, 500; 40, 500; 60, 40; 90, 1");
m_FinishGens.push_back(cFinishGenPtr(new cDungeonRoomsFinisher(m_ShapeGen, Seed, GridSize, MaxSize, MinSize, HeightDistrib)));
}
+ else if (NoCaseCompare(*itr, "GlowStone") == 0)
+ {
+ m_FinishGens.push_back(cFinishGenPtr(new cFinishGenGlowStone(Seed)));
+ }
else if (NoCaseCompare(*itr, "Ice") == 0)
{
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenIce));