summaryrefslogtreecommitdiffstats
path: root/source/cChunkGenerator.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-19 23:49:27 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-19 23:49:27 +0200
commit7198ddba466447ce8b9fabc01ae6311cac6700b2 (patch)
tree963ae3ebd6cfa022be8259edee06b86876e38fd5 /source/cChunkGenerator.cpp
parentMakefile fix for the newly added squirrel, MCServer compilable on *nix again (diff)
downloadcuberite-7198ddba466447ce8b9fabc01ae6311cac6700b2.tar
cuberite-7198ddba466447ce8b9fabc01ae6311cac6700b2.tar.gz
cuberite-7198ddba466447ce8b9fabc01ae6311cac6700b2.tar.bz2
cuberite-7198ddba466447ce8b9fabc01ae6311cac6700b2.tar.lz
cuberite-7198ddba466447ce8b9fabc01ae6311cac6700b2.tar.xz
cuberite-7198ddba466447ce8b9fabc01ae6311cac6700b2.tar.zst
cuberite-7198ddba466447ce8b9fabc01ae6311cac6700b2.zip
Diffstat (limited to 'source/cChunkGenerator.cpp')
-rw-r--r--source/cChunkGenerator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/cChunkGenerator.cpp b/source/cChunkGenerator.cpp
index 717fa594c..01e2f37f1 100644
--- a/source/cChunkGenerator.cpp
+++ b/source/cChunkGenerator.cpp
@@ -12,6 +12,7 @@
#include "cRoot.h"
#include "cPluginManager.h"
#include "cLuaChunk.h"
+#include "Ravines.h"
@@ -315,6 +316,10 @@ void cChunkGenerator::InitStructureGens(cIniFile & a_IniFile)
{
m_StructureGens.push_back(new cStructGenOreNests(m_Seed));
}
+ else if (NoCaseCompare(*itr, "ravines") == 0)
+ {
+ m_StructureGens.push_back(new cStructGenRavines(m_Seed, 128));
+ }
else
{
LOGWARNING("Unknown structure generator: \"%s\". Ignoring.", itr->c_str());