summaryrefslogtreecommitdiffstats
path: root/src/Generating/RoughRavines.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-27 19:57:47 +0200
committermadmaxoft <github@xoft.cz>2014-07-27 19:57:47 +0200
commit30893e7ee2f4dbaa3e4348b07cdc77aada168e1f (patch)
treede895fdc560ca69bf0541a2bb6fae197780f40c0 /src/Generating/RoughRavines.h
parentRoughRavines: Added per-height radius modifier. Ledges! (diff)
downloadcuberite-30893e7ee2f4dbaa3e4348b07cdc77aada168e1f.tar
cuberite-30893e7ee2f4dbaa3e4348b07cdc77aada168e1f.tar.gz
cuberite-30893e7ee2f4dbaa3e4348b07cdc77aada168e1f.tar.bz2
cuberite-30893e7ee2f4dbaa3e4348b07cdc77aada168e1f.tar.lz
cuberite-30893e7ee2f4dbaa3e4348b07cdc77aada168e1f.tar.xz
cuberite-30893e7ee2f4dbaa3e4348b07cdc77aada168e1f.tar.zst
cuberite-30893e7ee2f4dbaa3e4348b07cdc77aada168e1f.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/RoughRavines.h30
1 files changed, 29 insertions, 1 deletions
diff --git a/src/Generating/RoughRavines.h b/src/Generating/RoughRavines.h
index dce2f9ba7..4c905b641 100644
--- a/src/Generating/RoughRavines.h
+++ b/src/Generating/RoughRavines.h
@@ -24,7 +24,11 @@ public:
int a_Seed,
int a_MaxSize, int a_MinSize,
float a_MaxCenterWidth, float a_MinCenterWidth,
- float a_MaxRoughness, float a_MinRoughness,
+ 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
);
@@ -49,6 +53,30 @@ protected:
/** Minimum roughness of the ravine */
float m_MinRoughness;
+ /** Maximum floor height at the ravine's edge */
+ float m_MaxFloorHeightEdge;
+
+ /** Minimum floor height at the ravine's edge */
+ float m_MinFloorHeightEdge;
+
+ /** Maximum floor height at the ravine's center */
+ float m_MaxFloorHeightCenter;
+
+ /** Minimum floor height at the ravine's center */
+ float m_MinFloorHeightCenter;
+
+ /** Maximum ceiling height at the ravine's edge */
+ float m_MaxCeilingHeightEdge;
+
+ /** Minimum ceiling height at the ravine's edge */
+ float m_MinCeilingHeightEdge;
+
+ /** Maximum ceiling height at the ravine's center */
+ float m_MaxCeilingHeightCenter;
+
+ /** Minimum ceiling height at the ravine's center */
+ float m_MinCeilingHeightCenter;
+
// cGridStructGen overrides:
virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
};