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...
int m_Seed
The seed for the random number generator.
std::shared_ptr< cGen > cGenPtr
std::vector< cGenPtr > cGenPtrs
cPieceStructuresGen(int a_Seed)
cGenPtrs m_Gens
The individual structure generators, one per piecepool.
virtual void GenFinish(cChunkDesc &a_ChunkDesc) override
bool Initialize(const AString &a_Prefabs, int a_SeaLevel, cBiomeGen &a_BiomeGen, cTerrainHeightGen &a_HeightGen)
Initializes the generator based on the specified prefab sets.