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
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user