Move more dungeon parameter selection to mapgens (#8653)
authorParamat <paramat@users.noreply.github.com>
Tue, 9 Jul 2019 19:38:51 +0000 (20:38 +0100)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2019 19:38:51 +0000 (20:38 +0100)
commit0c319469439237ba0db31ccbffeef06e2f5ab45f
tree97511d51edfc75e591a509e6ebe7ac1288035768
parent140aeabd877bad674971ce5b9a43b59f888e511e
Move more dungeon parameter selection to mapgens (#8653)

Move 'num_dungeons' to 'DungeonParams'.
Add new parameter 'num_rooms' to replace 'rooms_min' and 'rooms_max',
so that the mapgen has complete control over the number of rooms.
Add new bool 'first_room_large' so that the mapgen chooses this
instead of a hardcoded 1 in 4 chance.
Add new parameter 'room_size_large' to replace 'room_size_large_min'
and 'room_size_large_max', so that the mapgen has complete control
over this.
src/mapgen/dungeongen.cpp
src/mapgen/dungeongen.h
src/mapgen/mapgen.cpp
src/mapgen/mapgen_v6.cpp