b974b1ea59
git-svn-id: http://mc-server.googlecode.com/svn/trunk@413 0a769ca7-a7f5-676a-18bf-c427514a06d6
36 lines
576 B
C++
36 lines
576 B
C++
|
|
// 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, BLOCKTYPE * 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);
|
|
} ;
|
|
|
|
|
|
|
|
|