A collection of connected tunnels, possibly branching.
More...
|
| cCaveSystem (int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ, int a_MaxOffset, int a_Size, cNoise &a_Noise) |
|
virtual | ~cCaveSystem () override |
|
| cStructure (int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) |
| Creates a structure that has its origin set at the specified coords. More...
|
|
virtual size_t | GetCacheCost (void) const |
| Returns the cost of keeping this structure in the cache. More...
|
|
virtual | ~cStructure () |
|
A collection of connected tunnels, possibly branching.
Definition at line 120 of file Caves.cpp.
◆ Super
◆ cCaveSystem()
cStructGenWormNestCaves::cCaveSystem::cCaveSystem |
( |
int |
a_GridX, |
|
|
int |
a_GridZ, |
|
|
int |
a_OriginX, |
|
|
int |
a_OriginZ, |
|
|
int |
a_MaxOffset, |
|
|
int |
a_Size, |
|
|
cNoise & |
a_Noise |
|
) |
| |
◆ ~cCaveSystem()
cStructGenWormNestCaves::cCaveSystem::~cCaveSystem |
( |
| ) |
|
|
overridevirtual |
◆ Clear()
void cStructGenWormNestCaves::cCaveSystem::Clear |
( |
void |
| ) |
|
|
protected |
◆ DrawIntoChunk()
void cStructGenWormNestCaves::cCaveSystem::DrawIntoChunk |
( |
cChunkDesc & |
a_ChunkDesc | ) |
|
|
overrideprotectedvirtual |
◆ GenerateTunnelsFromPoint()
void cStructGenWormNestCaves::cCaveSystem::GenerateTunnelsFromPoint |
( |
int |
a_OriginX, |
|
|
int |
a_OriginY, |
|
|
int |
a_OriginZ, |
|
|
cNoise & |
a_Noise, |
|
|
int |
a_Segments |
|
) |
| |
|
protected |
Generates a_Segment successive tunnels, with possible branches.
Generates the same output for the same [x, y, z, a_Segments]
Definition at line 644 of file Caves.cpp.
◆ GetRadius()
int cStructGenWormNestCaves::cCaveSystem::GetRadius |
( |
cNoise & |
a_Noise, |
|
|
int |
a_OriginX, |
|
|
int |
a_OriginY, |
|
|
int |
a_OriginZ |
|
) |
| |
|
protected |
Returns a radius based on the location provided.
Definition at line 670 of file Caves.cpp.
◆ m_BlockX
int cStructGenWormNestCaves::cCaveSystem::m_BlockX |
◆ m_BlockZ
int cStructGenWormNestCaves::cCaveSystem::m_BlockZ |
◆ m_Size
int cStructGenWormNestCaves::cCaveSystem::m_Size |
|
protected |
◆ m_Tunnels
cCaveTunnels cStructGenWormNestCaves::cCaveSystem::m_Tunnels |
|
protected |
The documentation for this class was generated from the following file: