summaryrefslogtreecommitdiffstats
path: root/source/cWorldGenerator.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-25 09:18:52 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-25 09:18:52 +0200
commita4a418a679f1ac760a8763edd856f0178cfc6dde (patch)
tree85300ca3a2b3a942998a0c864ae90894857ebf5f /source/cWorldGenerator.h
parentFixed output directory structure in the "Release profiled" configuration (diff)
downloadcuberite-a4a418a679f1ac760a8763edd856f0178cfc6dde.tar
cuberite-a4a418a679f1ac760a8763edd856f0178cfc6dde.tar.gz
cuberite-a4a418a679f1ac760a8763edd856f0178cfc6dde.tar.bz2
cuberite-a4a418a679f1ac760a8763edd856f0178cfc6dde.tar.lz
cuberite-a4a418a679f1ac760a8763edd856f0178cfc6dde.tar.xz
cuberite-a4a418a679f1ac760a8763edd856f0178cfc6dde.tar.zst
cuberite-a4a418a679f1ac760a8763edd856f0178cfc6dde.zip
Diffstat (limited to 'source/cWorldGenerator.h')
-rw-r--r--source/cWorldGenerator.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/source/cWorldGenerator.h b/source/cWorldGenerator.h
deleted file mode 100644
index 157f93d83..000000000
--- a/source/cWorldGenerator.h
+++ /dev/null
@@ -1,53 +0,0 @@
-
-#pragma once
-
-
-
-
-
-#include "ChunkDef.h"
-#include "MersenneTwister.h"
-
-
-
-
-
-// fwd:
-class cWorld;
-
-
-
-
-
-class cWorldGenerator
-{
-public:
- cWorldGenerator(cWorld * a_World);
- ~cWorldGenerator();
-
- virtual void GenerateChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, BLOCKTYPE * a_BlockData, cEntityList & a_Entities, cBlockEntityList & a_BlockEntities);
-
- virtual void PostGenerateChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ); // Called when the chunk has been already generated and set valid
-
-protected:
-
- cWorld * m_World;
-
- // Thread-unsafe:
- MTRand r1;
-
- void GenerateOre(char a_OreType, int a_MaxHeight, int a_NumNests, int a_NestSize, BLOCKTYPE * a_BlockData);
-
- static unsigned int MakeIndex(int x, int y, int z );
-
- virtual void GenerateTerrain(int a_ChunkX, int a_ChunkY, int a_ChunkZ, BLOCKTYPE * a_BlockData);
-
- virtual void GenerateFoliage(int a_ChunkX, int a_ChunkY, int a_ChunkZ);
-
- /// Checks if the chunk has all 8 neighbors valid, if so, foliage is generated on that chunk
- void CheckNeighbors(int a_ChunkX, int a_ChunkY, int a_ChunkZ);
-};
-
-
-
-