diff options
author | madmaxoft <github@xoft.cz> | 2014-06-09 23:40:51 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-06-09 23:40:51 +0200 |
commit | 9ff0ef87d4bca688b7fab8c7f4c9f9fcf683c06f (patch) | |
tree | 2d8c81b23358817f5cb6d50f2f633ceca5d754fc /src/Generating/HeiGen.h | |
parent | Added cRidgedMultiNoise, fixed cPerlinNoise. (diff) | |
download | cuberite-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.h | 21 |
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 { |