X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fmapgen%2Fdungeongen.h;h=d2e733f717bbc26430c9a59e201888c4b49c97d1;hb=37923920a07f06d201662d8f1f4e5821efcc7b09;hp=dd5245fa946952f92df60f5a53ba0f67ed582b98;hpb=0c319469439237ba0db31ccbffeef06e2f5ab45f;p=oweals%2Fminetest.git 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;