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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-04-13 12:38:06 -04:00
|
|
|
class cStructGenRavines:
|
2014-05-09 12:30:39 -04:00
|
|
|
public cGridStructGen
|
2013-07-29 07:13:03 -04:00
|
|
|
{
|
2020-04-13 12:38:06 -04:00
|
|
|
using Super = cGridStructGen;
|
2014-05-09 12:30:39 -04:00
|
|
|
|
2013-07-29 07:13:03 -04:00
|
|
|
public:
|
2020-04-13 12:38:06 -04:00
|
|
|
|
2013-07-29 07:13:03 -04:00
|
|
|
cStructGenRavines(int a_Seed, int a_Size);
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2013-07-29 07:13:03 -04:00
|
|
|
protected:
|
|
|
|
class cRavine; // fwd: Ravines.cpp
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2020-04-13 12:38:06 -04:00
|
|
|
int m_Size; // Max size, in blocks, of the ravines generated
|
2016-02-05 16:45:45 -05: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
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|