1
0
Fork 0
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:
paramat 2018-02-17 17:43:13 +00:00 committed by paramat
parent 0f015b28a3
commit 2bc7c5ff93
15 changed files with 142 additions and 14 deletions

View file

@ -59,6 +59,9 @@ struct MapgenV6Params : public MapgenParams {
MGV6_BIOMEBLEND | MGV6_MUDFLOW;
float freq_desert = 0.45f;
float freq_beach = 0.15f;
s16 dungeon_ymin = -31000;
s16 dungeon_ymax = 31000;
NoiseParams np_terrain_base;
NoiseParams np_terrain_higher;
NoiseParams np_steepness;
@ -104,8 +107,11 @@ public:
NoiseParams *np_humidity;
NoiseParams *np_trees;
NoiseParams *np_apple_trees;
float freq_desert;
float freq_beach;
s16 dungeon_ymin;
s16 dungeon_ymax;
content_t c_stone;
content_t c_dirt;