summaryrefslogtreecommitdiffstats
path: root/src/Generating/GridStructGen.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-31 19:11:13 +0200
committerMattes D <github@xoft.cz>2014-05-31 19:11:13 +0200
commit6de45037c774f5fc748a4520b6f2afacdca94661 (patch)
treedc5908fdb33d679c05f10aa562ccbb107e7f3518 /src/Generating/GridStructGen.h
parentMerge pull request #951 from worktycho/chunksparsing/structs (diff)
parentUpdated PlainsVillage prefabs. (diff)
downloadcuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar.gz
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar.bz2
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar.lz
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar.xz
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.tar.zst
cuberite-6de45037c774f5fc748a4520b6f2afacdca94661.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/GridStructGen.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Generating/GridStructGen.h b/src/Generating/GridStructGen.h
index 234cc75c5..630a5e44e 100644
--- a/src/Generating/GridStructGen.h
+++ b/src/Generating/GridStructGen.h
@@ -39,14 +39,6 @@ class cGridStructGen :
public cFinishGen
{
public:
- cGridStructGen(
- int a_Seed,
- int a_GridSizeX, int a_GridSizeZ,
- int a_MaxStructureSizeX, int a_MaxStructureSizeZ,
- size_t a_MaxCacheSize
- );
-
-protected:
/** Represents a single structure that occupies the grid point. Knows how to draw itself into a chunk. */
class cStructure
{
@@ -75,6 +67,14 @@ protected:
typedef std::list<cStructurePtr> cStructurePtrs;
+ cGridStructGen(
+ int a_Seed,
+ int a_GridSizeX, int a_GridSizeZ,
+ int a_MaxStructureSizeX, int a_MaxStructureSizeZ,
+ size_t a_MaxCacheSize
+ );
+
+protected:
/** Seed for generating the semi-random grid. */
int m_Seed;