Dungeons: Make multiple large rooms possible (#8678)
authorParamat <paramat@users.noreply.github.com>
Tue, 16 Jul 2019 19:39:58 +0000 (20:39 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Jul 2019 19:39:58 +0000 (20:39 +0100)
commit458f6175753314583637006f00c426ba22ba86d7
tree8688e943dfc635a053ce9fd6db0e1fb37e5969c1
parent47492386ece5b016a7a0ed06d6a44cc7d60adb55
Dungeons: Make multiple large rooms possible (#8678)

Re-add the random size range for large rooms.
Remove 'first_room_large' bool.
Add 'large_room_chance' parameter that can disable large rooms,
specify 1 large room, or specify a chance for large rooms.
If 1 or a chance is specified, the first generated room is large,
to take advantage of the intersection checks that are done for the
1st room only.
src/mapgen/dungeongen.cpp
src/mapgen/dungeongen.h
src/mapgen/mapgen.cpp
src/mapgen/mapgen_v6.cpp