25 int a_Seed,
int a_GridSize,
int a_MaxOffset,
int a_MaxSystemSize,
26 int a_ChanceCorridor,
int a_ChanceCrossing,
int a_ChanceStaircase
Generates structures in a semi-random grid.
std::shared_ptr< cStructure > cStructurePtr
int m_ProbLevelCrossing
Probability level of a branch object being the crossing, minus Corridor.
int m_ProbLevelStaircase
Probability level of a branch object being the staircase, minus Crossing.
int m_GridSize
Average spacing of the systems.
int m_ProbLevelCorridor
Probability level of a branch object being the corridor.
int m_MaxSystemSize
Maximum blcok size of a mineshaft system.
virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override
Create a new structure at the specified gridpoint.
cStructGenMineShafts(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxSystemSize, int a_ChanceCorridor, int a_ChanceCrossing, int a_ChanceStaircase)