summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-06-21 20:19:44 +0200
committermadmaxoft <github@xoft.cz>2014-06-21 20:19:44 +0200
commit0a95d04ab38b81f87d4fa421601d25f37df1f6a1 (patch)
tree075cdd440644ff39bfa04b7b5a17a26ea9e12f9c /src/Generating/ComposableGenerator.cpp
parentFixed a caching bug in GridStructGen. (diff)
downloadcuberite-0a95d04ab38b81f87d4fa421601d25f37df1f6a1.tar
cuberite-0a95d04ab38b81f87d4fa421601d25f37df1f6a1.tar.gz
cuberite-0a95d04ab38b81f87d4fa421601d25f37df1f6a1.tar.bz2
cuberite-0a95d04ab38b81f87d4fa421601d25f37df1f6a1.tar.lz
cuberite-0a95d04ab38b81f87d4fa421601d25f37df1f6a1.tar.xz
cuberite-0a95d04ab38b81f87d4fa421601d25f37df1f6a1.tar.zst
cuberite-0a95d04ab38b81f87d4fa421601d25f37df1f6a1.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/ComposableGenerator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index 22941dcbe..7b6234161 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -26,6 +26,7 @@
#include "POCPieceGenerator.h"
#include "RainbowRoadsGen.h"
#include "Ravines.h"
+#include "TestRailsGen.h"
#include "UnderwaterBaseGen.h"
#include "VillageGen.h"
@@ -414,6 +415,10 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
{
m_FinishGens.push_back(new cFinishGenSprinkleFoliage(Seed));
}
+ else if (NoCaseCompare(*itr, "TestRails") == 0)
+ {
+ m_FinishGens.push_back(new cTestRailsGen(Seed, 100, 1, 7, 50));
+ }
else if (NoCaseCompare(*itr, "Trees") == 0)
{
m_FinishGens.push_back(new cStructGenTrees(Seed, m_BiomeGen, m_HeightGen, m_CompositionGen));