summaryrefslogtreecommitdiff
path: root/src/mapgen/dungeongen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen/dungeongen.h')
-rw-r--r--src/mapgen/dungeongen.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mapgen/dungeongen.h b/src/mapgen/dungeongen.h
index dd5245fa9..d2e733f71 100644
--- a/src/mapgen/dungeongen.h
+++ b/src/mapgen/dungeongen.h
@@ -58,10 +58,14 @@ struct DungeonParams {
// Room size random range. Includes walls / floor / ceilng
v3s16 room_size_min;
v3s16 room_size_max;
- // Large room size
- v3s16 room_size_large;
- // First generated room is large
- bool first_room_large;
+ // Large room size random range. Includes walls / floor / ceilng
+ v3s16 room_size_large_min;
+ v3s16 room_size_large_max;
+ // Value 0 disables large rooms.
+ // Value 1 results in 1 large room, the first generated room.
+ // Value > 1 makes the first generated room large, all other rooms have a
+ // '1 in value' chance of being large.
+ u16 large_room_chance;
// Dimensions of 3D 'brush' that creates corridors.
// Dimensions are of the empty space, not including walls / floor / ceilng.
v3s16 holesize;