From 5b69087b729d91be330662d902a3e351d51789f2 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 27 Jul 2012 21:00:11 +0000 Subject: Removed bottom lava from caves generator, added a new finish generator BottomLava for that. Also fixed a slight error in SameBlock composition generator cfg git-svn-id: http://mc-server.googlecode.com/svn/trunk@698 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/FinishGen.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'source/FinishGen.h') diff --git a/source/FinishGen.h b/source/FinishGen.h index 39a79c384..afa570fdf 100644 --- a/source/FinishGen.h +++ b/source/FinishGen.h @@ -5,6 +5,8 @@ - cFinishGenSnow - cFinishGenIce - cFinishGenSprinkleFoliage + - cFinishGenLilypads + - cFinishGenBottomLava */ @@ -120,3 +122,31 @@ protected: +class cFinishGenBottomLava : + public cFinishGen +{ +public: + cFinishGenBottomLava(int a_Level) : + m_Level(a_Level) + { + } + +protected: + int m_Level; + + // 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; +} ; + + + + + -- cgit v1.2.3