The interface that a biome generator must implement A biome generator takes chunk coords on input and...
The interface that is used to query terrain height from the shape generator.
The interface that a finisher must implement Finisher implements changes to the chunk after the rough...
The Single Prefab Structure Generator: This uses the cGridStructGen to generate the structures on the...
virtual void GenFinish(cChunkDesc &a_ChunkDesc) override
std::shared_ptr< cGen > cGenPtr
bool Initialize(const AString &a_Prefabs, int a_SeaLevel, cBiomeGen &a_BiomeGen, cTerrainHeightGen &a_HeightGen)
Initializes the generator based on the specified prefab sets.
cSinglePieceStructuresGen(int a_Seed)
std::vector< cGenPtr > cGenPtrs
cGenPtrs m_Gens
The individual structure generators, one per piecepool.
int m_Seed
The seed for the random number generator.