summaryrefslogtreecommitdiffstats
path: root/src/Generating/HeiGen.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-06-10 22:59:45 +0200
committermadmaxoft <github@xoft.cz>2014-06-10 22:59:45 +0200
commit1ff1a93866ab81e3868588a256f446a902a1a8c4 (patch)
tree32dacb18b42599309f428802958f39c2cd6ba405 /src/Generating/HeiGen.h
parentFixed clang warnings about abs() in Noise.cpp. (diff)
downloadcuberite-1ff1a93866ab81e3868588a256f446a902a1a8c4.tar
cuberite-1ff1a93866ab81e3868588a256f446a902a1a8c4.tar.gz
cuberite-1ff1a93866ab81e3868588a256f446a902a1a8c4.tar.bz2
cuberite-1ff1a93866ab81e3868588a256f446a902a1a8c4.tar.lz
cuberite-1ff1a93866ab81e3868588a256f446a902a1a8c4.tar.xz
cuberite-1ff1a93866ab81e3868588a256f446a902a1a8c4.tar.zst
cuberite-1ff1a93866ab81e3868588a256f446a902a1a8c4.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 5c106c7d9..5fc4f4abc 100644
--- a/src/Generating/HeiGen.h
+++ b/src/Generating/HeiGen.h
@@ -127,6 +127,27 @@ protected:
+class cHeiGenMesaBryce :
+ public cTerrainHeightGen
+{
+public:
+ cHeiGenMesaBryce(int a_Seed);
+
+protected:
+ int m_Seed;
+ cPerlinNoise m_PerlinHFHA; // HighFrequencyHighAmplitude, for the hills
+ cPerlinNoise m_PerlinLFLA; // LowFrequencyLowAmplitude, for the floor
+ cPerlinNoise m_PerlinTops;
+
+ // 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
{