mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21: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
|
@ -38,6 +38,8 @@ struct MapgenV5Params : public MapgenParams
|
|||
s16 cavern_limit = -256;
|
||||
s16 cavern_taper = 256;
|
||||
float cavern_threshold = 0.7f;
|
||||
s16 dungeon_ymin = -31000;
|
||||
s16 dungeon_ymax = 31000;
|
||||
|
||||
NoiseParams np_filler_depth;
|
||||
NoiseParams np_factor;
|
||||
|
@ -68,6 +70,9 @@ public:
|
|||
|
||||
private:
|
||||
s16 large_cave_depth;
|
||||
s16 dungeon_ymin;
|
||||
s16 dungeon_ymax;
|
||||
|
||||
Noise *noise_factor;
|
||||
Noise *noise_height;
|
||||
Noise *noise_ground;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue