#include <StructGen.h>
|
void | ApplyTreeImage (int a_ChunkX, int a_ChunkZ, cChunkDesc &a_ChunkDesc, const sSetBlockVector &a_Image, sSetBlockVector &a_Overflow) |
| Applies an image into chunk blockdata; all blocks outside the chunk will be appended to a_Overflow. More...
|
|
void | GenerateSingleTree (int a_ChunkX, int a_ChunkZ, int a_Seq, cChunkDesc &a_ChunkDesc, sSetBlockVector &a_OutsideLogs, sSetBlockVector &a_OutsideOther) |
| Generates and applies an image of a single tree. More...
|
|
virtual void | GenFinish (cChunkDesc &a_ChunkDesc) override |
|
int | GetNumTrees (int a_ChunkX, int a_ChunkZ, const cChunkDef::BiomeMap &a_Biomes) |
|
Definition at line 23 of file StructGen.h.
Applies an image into chunk blockdata; all blocks outside the chunk will be appended to a_Overflow.
Definition at line 145 of file StructGen.cpp.
Generates and applies an image of a single tree.
Parts of the tree inside the chunk are applied to a_ChunkDesc. Parts of the tree outside the chunk are stored in a_OutsideXYZ
Definition at line 76 of file StructGen.cpp.
void cStructGenTrees::GenFinish |
( |
cChunkDesc & |
a_ChunkDesc | ) |
|
|
overrideprotectedvirtual |
int cStructGenTrees::GetNumTrees |
( |
int |
a_ChunkX, |
|
|
int |
a_ChunkZ, |
|
|
const cChunkDef::BiomeMap & |
a_Biomes |
|
) |
| |
|
protected |
cNoise cStructGenTrees::m_Noise |
|
protected |
int cStructGenTrees::m_Seed |
|
protected |
The documentation for this class was generated from the following files: