mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00: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:
parent
46fd114e9a
commit
8b1f8e99cf
12 changed files with 244 additions and 205 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue