mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
Cavegen y biome check (#13472)
This commit is contained in:
@@ -26,6 +26,8 @@ typedef u16 biome_t; // copy from mg_biome.h to avoid an unnecessary include
|
||||
|
||||
class GenerateNotifier;
|
||||
|
||||
class BiomeGen;
|
||||
|
||||
/*
|
||||
CavesNoiseIntersection is a cave digging algorithm that carves smooth,
|
||||
web-like, continuous tunnels at points where the density of the intersection
|
||||
@@ -42,7 +44,7 @@ class CavesNoiseIntersection
|
||||
{
|
||||
public:
|
||||
CavesNoiseIntersection(const NodeDefManager *nodedef,
|
||||
BiomeManager *biomemgr, v3s16 chunksize, NoiseParams *np_cave1,
|
||||
BiomeManager *biomemgr, BiomeGen *biomegen, v3s16 chunksize, NoiseParams *np_cave1,
|
||||
NoiseParams *np_cave2, s32 seed, float cave_width);
|
||||
~CavesNoiseIntersection();
|
||||
|
||||
@@ -52,6 +54,8 @@ private:
|
||||
const NodeDefManager *m_ndef;
|
||||
BiomeManager *m_bmgr;
|
||||
|
||||
BiomeGen *m_bmgn;
|
||||
|
||||
// configurable parameters
|
||||
v3s16 m_csize;
|
||||
float m_cave_width;
|
||||
|
Reference in New Issue
Block a user