Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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.
- Loading branch information
Showing
with
51 additions
and 41 deletions.
- +18 −12 src/mapgen/dungeongen.cpp
- +8 −4 src/mapgen/dungeongen.h
- +14 −14 src/mapgen/mapgen.cpp
- +11 −11 src/mapgen/mapgen_v6.cpp