1
0
cuberite-2a/src/Generating/Ravines.h

39 lines
547 B
C
Raw Normal View History

// Ravines.h
// Interfaces to the cStructGenRavines class representing the ravine structure generator
#pragma once
#include "GridStructGen.h"
2020-04-13 12:38:06 -04:00
class cStructGenRavines:
public cGridStructGen
{
2020-04-13 12:38:06 -04:00
using Super = cGridStructGen;
public:
2020-04-13 12:38:06 -04:00
cStructGenRavines(int a_Seed, int a_Size);
2016-02-05 16:45:45 -05: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
// cGridStructGen overrides:
virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
} ;