mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Dungeons: Add Y limits in all mapgens
Preserve the upper limit used in mgvalleys.
This commit is contained in:
parent
0f015b28a3
commit
2bc7c5ff93
15 changed files with 142 additions and 14 deletions
|
@ -41,6 +41,9 @@ struct MapgenFlatParams : public MapgenParams
|
|||
float lake_steepness = 48.0f;
|
||||
float hill_threshold = 0.45f;
|
||||
float hill_steepness = 64.0f;
|
||||
s16 dungeon_ymin = -31000;
|
||||
s16 dungeon_ymax = 31000;
|
||||
|
||||
NoiseParams np_terrain;
|
||||
NoiseParams np_filler_depth;
|
||||
NoiseParams np_cave1;
|
||||
|
@ -72,5 +75,8 @@ private:
|
|||
float lake_steepness;
|
||||
float hill_threshold;
|
||||
float hill_steepness;
|
||||
s16 dungeon_ymin;
|
||||
s16 dungeon_ymax;
|
||||
|
||||
Noise *noise_terrain;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue