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
|
@ -40,6 +40,8 @@ struct MapgenCarpathianParams : 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_base;
|
||||
NoiseParams np_filler_depth;
|
||||
|
@ -83,6 +85,8 @@ public:
|
|||
private:
|
||||
s16 large_cave_depth;
|
||||
s32 grad_wl;
|
||||
s16 dungeon_ymin;
|
||||
s16 dungeon_ymax;
|
||||
|
||||
Noise *noise_base;
|
||||
Noise *noise_height1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue