Remove the per dungeon level door limit

Number of doors in a room-and-corridor style level was fixed
at 120; now the doors-array is dynamically allocated when needed.

Breaks saves and bones.
This commit is contained in:
Pasi Kallinen
2022-09-09 19:40:45 +03:00
parent c6a8519fec
commit a733004912
10 changed files with 85 additions and 62 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ struct mkroom {
schar needfill; /* sp_lev: does the room need filling? */
boolean needjoining; /* sp_lev: should the room connect to others? */
schar doorct; /* door count */
schar fdoor; /* index for the first door of the room */
int fdoor; /* index for the first door of the room */
schar nsubrooms; /* number of subrooms */
boolean irregular; /* true if room is non-rectangular */
schar roomnoidx;