summaryrefslogtreecommitdiffstats
path: root/source/WGFlat.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-12 20:39:41 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-12 20:39:41 +0100
commit10c8c75bb7fdfeb66874ae921e467336e619ef82 (patch)
tree74ffa4418a91571bb91dee44cee3d450dbc9b70d /source/WGFlat.h
parentFixed MapChunk packets to include (fake) biome data, makes clients happy (diff)
downloadcuberite-10c8c75bb7fdfeb66874ae921e467336e619ef82.tar
cuberite-10c8c75bb7fdfeb66874ae921e467336e619ef82.tar.gz
cuberite-10c8c75bb7fdfeb66874ae921e467336e619ef82.tar.bz2
cuberite-10c8c75bb7fdfeb66874ae921e467336e619ef82.tar.lz
cuberite-10c8c75bb7fdfeb66874ae921e467336e619ef82.tar.xz
cuberite-10c8c75bb7fdfeb66874ae921e467336e619ef82.tar.zst
cuberite-10c8c75bb7fdfeb66874ae921e467336e619ef82.zip
Diffstat (limited to '')
-rw-r--r--source/WGFlat.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/source/WGFlat.h b/source/WGFlat.h
new file mode 100644
index 000000000..79a2053c5
--- /dev/null
+++ b/source/WGFlat.h
@@ -0,0 +1,35 @@
+
+// WGFlat.h
+
+// Interfaces to the cWGFlat class representing the flat world generator
+
+
+
+
+
+#pragma once
+
+#include "cWorldGenerator.h"
+
+
+
+
+
+class cWGFlat :
+ public cWorldGenerator
+{
+ typedef cWorldGenerator super;
+
+protected:
+ int m_Height;
+
+ virtual void GenerateChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, char * a_BlockData, cEntityList & a_Entities, cBlockEntityList & a_BlockEntities) override;
+ virtual void PostGenerateChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ) override;
+
+public:
+ cWGFlat(cWorld * a_World);
+} ;
+
+
+
+