mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-31 18:31:04 +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
|
@ -34,14 +34,13 @@ extern FlagDesc flagdesc_mapgen_flat[];
|
|||
|
||||
struct MapgenFlatParams : public MapgenSpecificParams {
|
||||
u32 spflags;
|
||||
|
||||
s16 ground_level;
|
||||
s16 large_cave_depth;
|
||||
float cave_width;
|
||||
float lake_threshold;
|
||||
float lake_steepness;
|
||||
float hill_threshold;
|
||||
float hill_steepness;
|
||||
|
||||
NoiseParams np_terrain;
|
||||
NoiseParams np_filler_depth;
|
||||
NoiseParams np_cave1;
|
||||
|
@ -61,20 +60,20 @@ public:
|
|||
|
||||
int ystride;
|
||||
int zstride_1d;
|
||||
u32 spflags;
|
||||
|
||||
v3s16 node_min;
|
||||
v3s16 node_max;
|
||||
v3s16 full_node_min;
|
||||
v3s16 full_node_max;
|
||||
|
||||
u32 spflags;
|
||||
s16 ground_level;
|
||||
s16 large_cave_depth;
|
||||
float cave_width;
|
||||
float lake_threshold;
|
||||
float lake_steepness;
|
||||
float hill_threshold;
|
||||
float hill_steepness;
|
||||
|
||||
Noise *noise_terrain;
|
||||
Noise *noise_filler_depth;
|
||||
Noise *noise_cave1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue