summaryrefslogtreecommitdiffstats
path: root/source/FinishGen.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-27 23:00:11 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-27 23:00:11 +0200
commit5b69087b729d91be330662d902a3e351d51789f2 (patch)
tree5fd66699debb3de0b9ce76e04ac06ce98d6a8d8c /source/FinishGen.h
parentBasic WormNestCaves are working (diff)
downloadcuberite-5b69087b729d91be330662d902a3e351d51789f2.tar
cuberite-5b69087b729d91be330662d902a3e351d51789f2.tar.gz
cuberite-5b69087b729d91be330662d902a3e351d51789f2.tar.bz2
cuberite-5b69087b729d91be330662d902a3e351d51789f2.tar.lz
cuberite-5b69087b729d91be330662d902a3e351d51789f2.tar.xz
cuberite-5b69087b729d91be330662d902a3e351d51789f2.tar.zst
cuberite-5b69087b729d91be330662d902a3e351d51789f2.zip
Diffstat (limited to '')
-rw-r--r--source/FinishGen.h30
1 files changed, 30 insertions, 0 deletions
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;
+} ;
+
+
+
+
+