summaryrefslogtreecommitdiffstats
path: root/src/Generating/HeiGen.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-06-09 23:40:51 +0200
committermadmaxoft <github@xoft.cz>2014-06-09 23:40:51 +0200
commit9ff0ef87d4bca688b7fab8c7f4c9f9fcf683c06f (patch)
tree2d8c81b23358817f5cb6d50f2f633ceca5d754fc /src/Generating/HeiGen.h
parentAdded cRidgedMultiNoise, fixed cPerlinNoise. (diff)
downloadcuberite-9ff0ef87d4bca688b7fab8c7f4c9f9fcf683c06f.tar
cuberite-9ff0ef87d4bca688b7fab8c7f4c9f9fcf683c06f.tar.gz
cuberite-9ff0ef87d4bca688b7fab8c7f4c9f9fcf683c06f.tar.bz2
cuberite-9ff0ef87d4bca688b7fab8c7f4c9f9fcf683c06f.tar.lz
cuberite-9ff0ef87d4bca688b7fab8c7f4c9f9fcf683c06f.tar.xz
cuberite-9ff0ef87d4bca688b7fab8c7f4c9f9fcf683c06f.tar.zst
cuberite-9ff0ef87d4bca688b7fab8c7f4c9f9fcf683c06f.zip
Diffstat (limited to 'src/Generating/HeiGen.h')
-rw-r--r--src/Generating/HeiGen.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Generating/HeiGen.h b/src/Generating/HeiGen.h
index 1376f2a25..5c106c7d9 100644
--- a/src/Generating/HeiGen.h
+++ b/src/Generating/HeiGen.h
@@ -106,6 +106,27 @@ protected:
+class cHeiGenMountains :
+ public cTerrainHeightGen
+{
+public:
+ cHeiGenMountains(int a_Seed);
+
+protected:
+
+ int m_Seed;
+ cRidgedMultiNoise m_Noise;
+ cPerlinNoise m_Perlin;
+
+ // cTerrainHeightGen overrides:
+ virtual void GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) override;
+ virtual void InitializeHeightGen(cIniFile & a_IniFile) override;
+} ;
+
+
+
+
+
class cHeiGenBiomal :
public cTerrainHeightGen
{