mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user