New terrain generator - Noise3D.
A testbed for a generator based on 3D noise. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1414 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "../PluginManager.h"
|
||||
#include "ChunkDesc.h"
|
||||
#include "ComposableGenerator.h"
|
||||
#include "Noise3DGenerator.h"
|
||||
|
||||
|
||||
|
||||
@@ -53,9 +54,9 @@ bool cChunkGenerator::Start(cWorld * a_World, cIniFile & a_IniFile)
|
||||
m_Seed = a_IniFile.GetValueSetI("Seed", "Seed", rnd.randInt());
|
||||
AString GeneratorName = a_IniFile.GetValueSet("Generator", "Generator", "Composable");
|
||||
|
||||
if (NoCaseCompare(GeneratorName, "RoughHills") == 0)
|
||||
if (NoCaseCompare(GeneratorName, "Noise3D") == 0)
|
||||
{
|
||||
// TODO
|
||||
m_Generator = new cNoise3DGenerator(*this);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user