2012-03-12 15:39:41 -04:00
|
|
|
|
|
|
|
// 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;
|
|
|
|
|
2012-03-14 17:21:03 -04:00
|
|
|
virtual void GenerateChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, BLOCKTYPE * a_BlockData, cEntityList & a_Entities, cBlockEntityList & a_BlockEntities) override;
|
2012-03-12 15:39:41 -04:00
|
|
|
virtual void PostGenerateChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ) override;
|
|
|
|
|
|
|
|
public:
|
|
|
|
cWGFlat(cWorld * a_World);
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|