summaryrefslogtreecommitdiffstats
path: root/src/Generating/RoughRavines.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-27 00:03:26 +0200
committermadmaxoft <github@xoft.cz>2014-07-27 00:03:26 +0200
commit77f4297c6ee4daca51220f60b626658a22a22ea2 (patch)
treef239890b7488ed00645bea84932dbde5c0c1d9f1 /src/Generating/RoughRavines.h
parentMerge pull request #1232 from mc-server/splash-entity (diff)
downloadcuberite-77f4297c6ee4daca51220f60b626658a22a22ea2.tar
cuberite-77f4297c6ee4daca51220f60b626658a22a22ea2.tar.gz
cuberite-77f4297c6ee4daca51220f60b626658a22a22ea2.tar.bz2
cuberite-77f4297c6ee4daca51220f60b626658a22a22ea2.tar.lz
cuberite-77f4297c6ee4daca51220f60b626658a22a22ea2.tar.xz
cuberite-77f4297c6ee4daca51220f60b626658a22a22ea2.tar.zst
cuberite-77f4297c6ee4daca51220f60b626658a22a22ea2.zip
Diffstat (limited to 'src/Generating/RoughRavines.h')
-rw-r--r--src/Generating/RoughRavines.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/Generating/RoughRavines.h b/src/Generating/RoughRavines.h
new file mode 100644
index 000000000..68c628d84
--- /dev/null
+++ b/src/Generating/RoughRavines.h
@@ -0,0 +1,37 @@
+
+// RoughRavines.h
+
+// Declares the cRoughRavines class representing the rough ravine generator
+
+
+
+
+#pragma once
+
+#include "GridStructGen.h"
+
+
+
+
+
+class cRoughRavines :
+ public cGridStructGen
+{
+ typedef cGridStructGen super;
+
+public:
+ cRoughRavines(int a_Seed, int a_MaxSize, 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;
+
+ // cGridStructGen overrides:
+ virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
+};
+
+
+
+