diff options
author | madmaxoft <github@xoft.cz> | 2014-05-15 00:14:06 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-15 00:14:06 +0200 |
commit | f5fdbdaf29738f51fdb8a4a0e5aa78631c6540cf (patch) | |
tree | 233554d2d2267eba3484113698c0ebef37f9610a /src/Generating/VillageGen.h | |
parent | cPrefab can be constructed in code. (diff) | |
download | cuberite-f5fdbdaf29738f51fdb8a4a0e5aa78631c6540cf.tar cuberite-f5fdbdaf29738f51fdb8a4a0e5aa78631c6540cf.tar.gz cuberite-f5fdbdaf29738f51fdb8a4a0e5aa78631c6540cf.tar.bz2 cuberite-f5fdbdaf29738f51fdb8a4a0e5aa78631c6540cf.tar.lz cuberite-f5fdbdaf29738f51fdb8a4a0e5aa78631c6540cf.tar.xz cuberite-f5fdbdaf29738f51fdb8a4a0e5aa78631c6540cf.tar.zst cuberite-f5fdbdaf29738f51fdb8a4a0e5aa78631c6540cf.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/VillageGen.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/Generating/VillageGen.h b/src/Generating/VillageGen.h index acbd76881..c6f8f024a 100644 --- a/src/Generating/VillageGen.h +++ b/src/Generating/VillageGen.h @@ -21,19 +21,13 @@ class cVillageGen : { typedef cGridStructGen super; public: - cVillageGen(int a_Seed, int a_GridSize, int a_MaxRoadDepth, int a_MaxSize, cBiomeGen & a_BiomeGen, cTerrainHeightGen & a_HeightGen); + cVillageGen(int a_Seed, int a_GridSize, int a_MaxDepth, int a_MaxSize, cBiomeGen & a_BiomeGen, cTerrainHeightGen & a_HeightGen); protected: class cVillage; // fwd: VillageGen.cpp - /** The prefabs for the sand village. We're not exactly using the cPiecePool functionality, only the containment. */ - static cPrefabPiecePool m_SandVillage; - - /** The prefabs for the plains village. We're not exactly using the cPiecePool functionality, only the containment. */ - static cPrefabPiecePool m_PlainsVillage; - - /** Maximum number of roads generated one from another (tree depth). */ - int m_MaxRoadDepth; + /** Maximum depth of the generator tree*/ + int m_MaxDepth; /** Maximum size, in X/Z blocks, of the village (radius from the origin) */ int m_MaxSize; |