mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 01:45:36 +02:00
Dungeons: Add Y limits in all mapgens
Preserve the upper limit used in mgvalleys.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user