summaryrefslogtreecommitdiffstats
path: root/src/Generating/MineShafts.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/Generating/MineShafts.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-clang-format-codebase.tar
cuberite-clang-format-codebase.tar.gz
cuberite-clang-format-codebase.tar.bz2
cuberite-clang-format-codebase.tar.lz
cuberite-clang-format-codebase.tar.xz
cuberite-clang-format-codebase.tar.zst
cuberite-clang-format-codebase.zip
Diffstat (limited to 'src/Generating/MineShafts.h')
-rw-r--r--src/Generating/MineShafts.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/Generating/MineShafts.h b/src/Generating/MineShafts.h
index 43eff2055..e3f6595a2 100644
--- a/src/Generating/MineShafts.h
+++ b/src/Generating/MineShafts.h
@@ -15,18 +15,22 @@
-class cStructGenMineShafts :
- public cGridStructGen
+class cStructGenMineShafts : public cGridStructGen
{
typedef cGridStructGen Super;
-public:
+ public:
cStructGenMineShafts(
- int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxSystemSize,
- int a_ChanceCorridor, int a_ChanceCrossing, int a_ChanceStaircase
+ int a_Seed,
+ int a_GridSize,
+ int a_MaxOffset,
+ int a_MaxSystemSize,
+ int a_ChanceCorridor,
+ int a_ChanceCrossing,
+ int a_ChanceStaircase
);
-protected:
+ protected:
friend class cMineShaft;
friend class cMineShaftDirtRoom;
friend class cMineShaftCorridor;
@@ -34,16 +38,12 @@ protected:
friend class cMineShaftStaircase;
class cMineShaftSystem; // fwd: MineShafts.cpp
- int m_GridSize; ///< Average spacing of the systems
- int m_MaxSystemSize; ///< Maximum blcok size of a mineshaft system
- int m_ProbLevelCorridor; ///< Probability level of a branch object being the corridor
- int m_ProbLevelCrossing; ///< Probability level of a branch object being the crossing, minus Corridor
- int m_ProbLevelStaircase; ///< Probability level of a branch object being the staircase, minus Crossing
+ int m_GridSize; ///< Average spacing of the systems
+ int m_MaxSystemSize; ///< Maximum blcok size of a mineshaft system
+ int m_ProbLevelCorridor; ///< Probability level of a branch object being the corridor
+ int m_ProbLevelCrossing; ///< Probability level of a branch object being the crossing, minus Corridor
+ int m_ProbLevelStaircase; ///< Probability level of a branch object being the staircase, minus Crossing
// cGridStructGen overrides:
virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
-} ;
-
-
-
-
+};