mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-19 19:25:18 +02:00
Mapgen: Make 3D noise tunnels' width settable
Correct parameter names mg_valleys to mgvalleys Remove biome NoiseParams from MapgenValleysParams Improve format of parameter code
This commit is contained in:
@@ -32,6 +32,7 @@ extern FlagDesc flagdesc_mapgen_v5[];
|
||||
|
||||
struct MapgenV5Params : public MapgenSpecificParams {
|
||||
u32 spflags;
|
||||
float cave_width;
|
||||
NoiseParams np_filler_depth;
|
||||
NoiseParams np_factor;
|
||||
NoiseParams np_height;
|
||||
@@ -54,13 +55,14 @@ public:
|
||||
|
||||
int ystride;
|
||||
int zstride_1d;
|
||||
u32 spflags;
|
||||
|
||||
v3s16 node_min;
|
||||
v3s16 node_max;
|
||||
v3s16 full_node_min;
|
||||
v3s16 full_node_max;
|
||||
|
||||
u32 spflags;
|
||||
float cave_width;
|
||||
Noise *noise_filler_depth;
|
||||
Noise *noise_factor;
|
||||
Noise *noise_height;
|
||||
|
Reference in New Issue
Block a user