Commit f5a9901
committed
Special levels: mkmap roomno cleanup and room removal after map
mkmap creates mines-style full-level maps, so it should wipe
out all the room numbers in the level away. Also, it uses
temporary rooms for making sure the map is fully joined together;
those temporary rooms were left on the map, but should've
been cleared away.
When putting down map-parts on the level, don't remove the room
data which would be under that map; the map may have holes in them
(using the "x" map char), so a room may still exist there.
I don't think it matters if there is any room data which doesn't
have any room numbers referring to it in the level.
(Usually the special levels use map right after level_init anyway,
so there wouldn't be any rooms in the level)1 parent 7100534 commit f5a9901Copy full SHA for f5a9901
Expand file treeCollapse file tree
2 files changed
+20
-3
lines changedOpen diff view settings
Collapse file
+20Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
| 17 | + |
17 | 18 | |
18 | 19 | |
19 | 20 | |
| ||
26 | 27 | |
27 | 28 | |
28 | 29 | |
| 30 | + |
29 | 31 | |
30 | 32 | |
31 | 33 | |
| ||
240 | 242 | |
241 | 243 | |
242 | 244 | |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | + |
| 257 | + |
243 | 258 | |
244 | 259 | |
245 | 260 | |
| ||
311 | 326 | |
312 | 327 | |
313 | 328 | |
| 329 | + |
314 | 330 | |
315 | 331 | |
316 | 332 | |
| ||
349 | 365 | |
350 | 366 | |
351 | 367 | |
| 368 | + |
| 369 | + |
| 370 | + |
| 371 | + |
352 | 372 | |
353 | 373 | |
354 | 374 | |
|
Collapse file
-3Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6649 | 6649 | |
6650 | 6650 | |
6651 | 6651 | |
6652 | | - |
6653 | | - |
6654 | | - |
6655 | 6652 | |
6656 | 6653 | |
6657 | 6654 | |
|
0 commit comments