summaryrefslogtreecommitdiffstats
path: root/src/Generating/RoughRavines.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/RoughRavines.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.gz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.bz2
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.lz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.xz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.zst
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.zip
Diffstat (limited to 'src/Generating/RoughRavines.h')
-rw-r--r--src/Generating/RoughRavines.h36
1 files changed, 19 insertions, 17 deletions
diff --git a/src/Generating/RoughRavines.h b/src/Generating/RoughRavines.h
index 88b2f2e6d..4636d6e2f 100644
--- a/src/Generating/RoughRavines.h
+++ b/src/Generating/RoughRavines.h
@@ -14,26 +14,32 @@
-class cRoughRavines:
- public cGridStructGen
+class cRoughRavines : public cGridStructGen
{
using Super = cGridStructGen;
-public:
-
+ public:
cRoughRavines(
int a_Seed,
- int a_MaxSize, int a_MinSize,
- float a_MaxCenterWidth, float a_MinCenterWidth,
- float a_MaxRoughness, float a_MinRoughness,
- float a_MaxFloorHeightEdge, float a_MinFloorHeightEdge,
- float a_MaxFloorHeightCenter, float a_MinFloorHeightCenter,
- float a_MaxCeilingHeightEdge, float a_MinCeilingHeightEdge,
- float a_MaxCeilingHeightCenter, float a_MinCeilingHeightCenter,
- int a_GridSize, int a_MaxOffset
+ int a_MaxSize,
+ int a_MinSize,
+ float a_MaxCenterWidth,
+ float a_MinCenterWidth,
+ float a_MaxRoughness,
+ float a_MinRoughness,
+ float a_MaxFloorHeightEdge,
+ float a_MinFloorHeightEdge,
+ float a_MaxFloorHeightCenter,
+ float a_MinFloorHeightCenter,
+ float a_MaxCeilingHeightEdge,
+ float a_MinCeilingHeightEdge,
+ float a_MaxCeilingHeightCenter,
+ float a_MinCeilingHeightCenter,
+ int a_GridSize,
+ int a_MaxOffset
);
-protected:
+ protected:
/** Maximum size of the ravine, in each of the X / Z axis */
int m_MaxSize;
@@ -79,7 +85,3 @@ protected:
// cGridStructGen overrides:
virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
};
-
-
-
-