26 int a_MaxSize,
int a_MinSize,
27 float a_MaxCenterWidth,
float a_MinCenterWidth,
28 float a_MaxRoughness,
float a_MinRoughness,
29 float a_MaxFloorHeightEdge,
float a_MinFloorHeightEdge,
30 float a_MaxFloorHeightCenter,
float a_MinFloorHeightCenter,
31 float a_MaxCeilingHeightEdge,
float a_MinCeilingHeightEdge,
32 float a_MaxCeilingHeightCenter,
float a_MinCeilingHeightCenter,
33 int a_GridSize,
int a_MaxOffset
Generates structures in a semi-random grid.
std::shared_ptr< cStructure > cStructurePtr
cGridStructGen(int a_Seed, int a_GridSizeX, int a_GridSizeZ, int a_MaxOffsetX, int a_MaxOffsetZ, int a_MaxStructureSizeX, int a_MaxStructureSizeZ, size_t a_MaxCacheSize)
float m_MaxCeilingHeightCenter
Maximum ceiling height at the ravine's center.
cRoughRavines(int a_Seed, int a_MaxSize, int a_MinSize, float a_MaxCenterWidth, float a_MinCenterWidth, float a_MaxRoughness, float a_MinRoughness, float a_MaxFloorHeightEdge, float a_MinFloorHeightEdge, float a_MaxFloorHeightCenter, float a_MinFloorHeightCenter, float a_MaxCeilingHeightEdge, float a_MinCeilingHeightEdge, float a_MaxCeilingHeightCenter, float a_MinCeilingHeightCenter, int a_GridSize, int a_MaxOffset)
float m_MaxFloorHeightEdge
Maximum floor height at the ravine's edge.
virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override
Create a new structure at the specified gridpoint.
float m_MinCeilingHeightEdge
Minimum ceiling height at the ravine's edge.
float m_MinCeilingHeightCenter
Minimum ceiling height at the ravine's center.
float m_MaxCenterWidth
Maximum width of the ravine's center, in blocks.
float m_MinFloorHeightEdge
Minimum floor height at the ravine's edge.
float m_MaxFloorHeightCenter
Maximum floor height at the ravine's center.
int m_MaxSize
Maximum size of the ravine, in each of the X / Z axis.
int m_MinSize
Minimum size of the ravine.
float m_MaxRoughness
Maximum roughness of the ravine.
float m_MinRoughness
Minimum roughness of the ravine.
float m_MinFloorHeightCenter
Minimum floor height at the ravine's center.
float m_MaxCeilingHeightEdge
Maximum ceiling height at the ravine's edge.
float m_MinCenterWidth
Minimum width of the ravine's center, in blocks.