diff options
author | Mattes D <github@xoft.cz> | 2020-04-13 18:38:06 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2020-04-16 22:07:48 +0200 |
commit | 9ee47e59995f858ec531b3ee467f131594e4ba1f (patch) | |
tree | f005d8af4a0362d7eab8a96a71aca0d73275f8e1 /src/Generating/Caves.h | |
parent | Prevent crash when breeding (diff) | |
download | cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.gz cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.bz2 cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.lz cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.xz cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.tar.zst cuberite-9ee47e59995f858ec531b3ee467f131594e4ba1f.zip |
Diffstat (limited to 'src/Generating/Caves.h')
-rw-r--r-- | src/Generating/Caves.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Generating/Caves.h b/src/Generating/Caves.h index cf47d9a92..82545b4e0 100644 --- a/src/Generating/Caves.h +++ b/src/Generating/Caves.h @@ -62,13 +62,15 @@ protected: -class cStructGenWormNestCaves : +class cStructGenWormNestCaves: public cGridStructGen { - typedef cGridStructGen super; + using Super = cGridStructGen; + public: + cStructGenWormNestCaves(int a_Seed, int a_Size = 64, int a_Grid = 96, int a_MaxOffset = 128) : - super(a_Seed, a_Grid, a_Grid, a_MaxOffset, a_MaxOffset, a_Size, a_Size, 100), + Super(a_Seed, a_Grid, a_Grid, a_MaxOffset, a_MaxOffset, a_Size, a_Size, 100), m_Size(a_Size), m_MaxOffset(a_MaxOffset), m_Grid(a_Grid) @@ -76,6 +78,7 @@ public: } protected: + class cCaveSystem; // fwd: Caves.cpp int m_Size; // relative size of the cave systems' caves. Average number of blocks of each initial tunnel |