summaryrefslogtreecommitdiffstats
path: root/source/BioGen.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-27 13:07:23 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-27 13:07:23 +0200
commitd02df740ef0f8949de8bdf096c0079b702d26288 (patch)
tree9d9348f00fcc8419a106dae97cd001a5a50c34fd /source/BioGen.cpp
parentConstantBiome parsing now uses the string-to-biome conversion (#183) (diff)
downloadcuberite-d02df740ef0f8949de8bdf096c0079b702d26288.tar
cuberite-d02df740ef0f8949de8bdf096c0079b702d26288.tar.gz
cuberite-d02df740ef0f8949de8bdf096c0079b702d26288.tar.bz2
cuberite-d02df740ef0f8949de8bdf096c0079b702d26288.tar.lz
cuberite-d02df740ef0f8949de8bdf096c0079b702d26288.tar.xz
cuberite-d02df740ef0f8949de8bdf096c0079b702d26288.tar.zst
cuberite-d02df740ef0f8949de8bdf096c0079b702d26288.zip
Diffstat (limited to '')
-rw-r--r--source/BioGen.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/BioGen.cpp b/source/BioGen.cpp
index 82a937f4f..9073ad721 100644
--- a/source/BioGen.cpp
+++ b/source/BioGen.cpp
@@ -43,9 +43,9 @@ void cBioGenDistortedVoronoi::GenBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::B
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-// cBioGenCheckerboard:
+// cBiomeGenList:
-void cBioGenCheckerboard::InitializeBiomes(const AString & a_Biomes)
+void cBiomeGenList::InitializeBiomes(const AString & a_Biomes)
{
AStringVector Split = StringSplit(a_Biomes, ",");
@@ -101,6 +101,9 @@ void cBioGenCheckerboard::InitializeBiomes(const AString & a_Biomes)
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// cBioGenCheckerboard:
+
void cBioGenCheckerboard::GenBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::BiomeMap & a_BiomeMap)
{
for (int z = 0; z < cChunkDef::Width; z++)