mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-18 00:27:02 +08:00
* feat: add BlockType * refactor: use fBM for heightmap generation * feat: improve mountain realism * refactor: adjust mountain spawn probability * feat: add biome boundary blending * refactor: remove resolve_biome_adjacency_conflict function * feat: add snowy plain * perf: speed up world generation * refactor: lower overall terrain height
22 lines
444 B
C++
22 lines
444 B
C++
#pragma once
|
|
|
|
#include "Cubed/gameplay/builders/biome_builder.hpp"
|
|
namespace Cubed {
|
|
|
|
class ChunkGenerator;
|
|
|
|
class SnowyPlainBuilder : public BiomeBuilder {
|
|
public:
|
|
SnowyPlainBuilder(ChunkGenerator& chunk_generator);
|
|
void build_biome() override;
|
|
ChunkGenerator& get_chunk_generator() override;
|
|
void build_vegetation() override;
|
|
|
|
private:
|
|
ChunkGenerator& m_chunk_generator;
|
|
|
|
void build_blocks();
|
|
};
|
|
|
|
} // namespace Cubed
|