diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-11 18:15:34 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-11 18:15:34 +0100 |
commit | d2573b84dd52c06c723953ef66da4af8937a5a53 (patch) | |
tree | 32b2fcc9ccfb727fe339f5cb675cbbb50298238c /source/Generating/CompoGen.h | |
parent | Fixed a crash in LeakFinder when out of memory (diff) | |
download | cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.gz cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.bz2 cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.lz cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.xz cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.zst cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.zip |
Diffstat (limited to 'source/Generating/CompoGen.h')
-rw-r--r-- | source/Generating/CompoGen.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/source/Generating/CompoGen.h b/source/Generating/CompoGen.h index 39f57735f..e92ba505c 100644 --- a/source/Generating/CompoGen.h +++ b/source/Generating/CompoGen.h @@ -152,3 +152,31 @@ protected: + +class cCompoGenNether : + public cTerrainCompositionGen +{ +public: + cCompoGenNether(int a_Seed); + +protected: + cNoise m_Noise1; + cNoise m_Noise2; + + int m_Threshold; + + // cTerrainCompositionGen overrides: + virtual void ComposeTerrain( + int a_ChunkX, int a_ChunkZ, + cChunkDef::BlockTypes & a_BlockTypes, // BlockTypes to be generated + cChunkDef::BlockNibbles & a_BlockMeta, // BlockMetas to be generated + const cChunkDef::HeightMap & a_HeightMap, // The height map to fit + const cChunkDef::BiomeMap & a_BiomeMap, // Biomes to adhere to + cEntityList & a_Entities, // Entitites may be generated along with the terrain + cBlockEntityList & a_BlockEntities // Block entitites may be generated (chests / furnaces / ...) + ) override; +} ; + + + + |