summaryrefslogtreecommitdiffstats
path: root/src/Generating/RoughRavines.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-27 13:54:27 +0200
committermadmaxoft <github@xoft.cz>2014-07-27 13:54:27 +0200
commit472f70a6762369eb3375eb1ed874a95faaf2de71 (patch)
tree5dc0efb11f0ebd032b65b1861514659f6e10971a /src/Generating/RoughRavines.h
parentRoughRavines: Initial generator implementation. (diff)
downloadcuberite-472f70a6762369eb3375eb1ed874a95faaf2de71.tar
cuberite-472f70a6762369eb3375eb1ed874a95faaf2de71.tar.gz
cuberite-472f70a6762369eb3375eb1ed874a95faaf2de71.tar.bz2
cuberite-472f70a6762369eb3375eb1ed874a95faaf2de71.tar.lz
cuberite-472f70a6762369eb3375eb1ed874a95faaf2de71.tar.xz
cuberite-472f70a6762369eb3375eb1ed874a95faaf2de71.tar.zst
cuberite-472f70a6762369eb3375eb1ed874a95faaf2de71.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/RoughRavines.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/Generating/RoughRavines.h b/src/Generating/RoughRavines.h
index 68c628d84..dce2f9ba7 100644
--- a/src/Generating/RoughRavines.h
+++ b/src/Generating/RoughRavines.h
@@ -20,13 +20,34 @@ class cRoughRavines :
typedef cGridStructGen super;
public:
- cRoughRavines(int a_Seed, int a_MaxSize, int a_GridSize, int a_MaxOffset);
+ cRoughRavines(
+ int a_Seed,
+ int a_MaxSize, int a_MinSize,
+ float a_MaxCenterWidth, float a_MinCenterWidth,
+ float a_MaxRoughness, float a_MinRoughness,
+ int a_GridSize, int a_MaxOffset
+ );
protected:
int m_Seed;
/** Maximum size of the ravine, in each of the X / Z axis */
int m_MaxSize;
+
+ /** Minimum size of the ravine */
+ int m_MinSize;
+
+ /** Maximum width of the ravine's center, in blocks */
+ float m_MaxCenterWidth;
+
+ /** Minimum width of the ravine's center, in blocks */
+ float m_MinCenterWidth;
+
+ /** Maximum roughness of the ravine */
+ float m_MaxRoughness;
+
+ /** Minimum roughness of the ravine */
+ float m_MinRoughness;
// cGridStructGen overrides:
virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;