From 7198ddba466447ce8b9fabc01ae6311cac6700b2 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 19 Jul 2012 21:49:27 +0000 Subject: Ravines: initial implementation, randomized shapes are working, but still needs some work git-svn-id: http://mc-server.googlecode.com/svn/trunk@683 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkGenerator.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/cChunkGenerator.cpp') 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()); -- cgit v1.2.3