diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-21 22:06:31 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-21 22:06:31 +0200 |
commit | 879b7262b4ad174f0de09eaa45de69b07f4dfe2c (patch) | |
tree | 68a005b11fde44f94b89bc136767e96e8509cb57 /source/Generating/FinishGen.h | |
parent | Added more item stacking sizes (patch contributed by Hanfer) (diff) | |
download | cuberite-879b7262b4ad174f0de09eaa45de69b07f4dfe2c.tar cuberite-879b7262b4ad174f0de09eaa45de69b07f4dfe2c.tar.gz cuberite-879b7262b4ad174f0de09eaa45de69b07f4dfe2c.tar.bz2 cuberite-879b7262b4ad174f0de09eaa45de69b07f4dfe2c.tar.lz cuberite-879b7262b4ad174f0de09eaa45de69b07f4dfe2c.tar.xz cuberite-879b7262b4ad174f0de09eaa45de69b07f4dfe2c.tar.zst cuberite-879b7262b4ad174f0de09eaa45de69b07f4dfe2c.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Generating/FinishGen.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source/Generating/FinishGen.h b/source/Generating/FinishGen.h index b6d3c3935..2dd4baa4a 100644 --- a/source/Generating/FinishGen.h +++ b/source/Generating/FinishGen.h @@ -150,3 +150,32 @@ protected: + +class cFinishGenPreSimulator : + public cFinishGen +{ +public: + cFinishGenPreSimulator(void); + +protected: + // Drops hanging sand and gravel down to the ground, recalculates heightmap + void CollapseSandGravel( + cChunkDef::BlockTypes & a_BlockTypes, // Block types to read and change + cChunkDef::HeightMap & a_HeightMap // Height map to read and change by the current data + ); + + // cFinishGen override: + virtual void GenFinish( + int a_ChunkX, int a_ChunkZ, + cChunkDef::BlockTypes & a_BlockTypes, // Block types to read and change + cChunkDef::BlockNibbles & a_BlockMeta, // Block meta to read and change + cChunkDef::HeightMap & a_HeightMap, // Height map to read and change by the current data + const cChunkDef::BiomeMap & a_BiomeMap, // Biomes to adhere to + cEntityList & a_Entities, // Entities may be added or deleted + cBlockEntityList & a_BlockEntities // Block entities may be added or deleted + ) override; +} ; + + + + |