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