2013-07-29 07:13:03 -04:00
|
|
|
|
|
|
|
// Ravines.h
|
|
|
|
|
|
|
|
// Interfaces to the cStructGenRavines class representing the ravine structure generator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2014-05-09 12:30:39 -04:00
|
|
|
#include "GridStructGen.h"
|
2013-07-29 07:13:03 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cStructGenRavines :
|
2014-05-09 12:30:39 -04:00
|
|
|
public cGridStructGen
|
2013-07-29 07:13:03 -04:00
|
|
|
{
|
2014-05-09 12:30:39 -04:00
|
|
|
typedef cGridStructGen super;
|
|
|
|
|
2013-07-29 07:13:03 -04:00
|
|
|
public:
|
|
|
|
cStructGenRavines(int a_Seed, int a_Size);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
class cRavine; // fwd: Ravines.cpp
|
|
|
|
|
2014-05-09 12:30:39 -04:00
|
|
|
cNoise m_Noise;
|
|
|
|
int m_Size; // Max size, in blocks, of the ravines generated
|
2013-07-29 07:13:03 -04:00
|
|
|
|
2014-05-09 12:30:39 -04:00
|
|
|
|
|
|
|
// cGridStructGen overrides:
|
2014-06-16 10:12:50 -04:00
|
|
|
virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
|
2013-07-29 07:13:03 -04:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|