v3.1.0: finalized visuals for halls rubble

This commit is contained in:
Evan Debenham
2025-05-29 15:17:17 -04:00
parent 938861a7b5
commit 0ba00ff7bb
2 changed files with 6 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -181,6 +181,12 @@ public class HallsBossLevel extends Level {
vis.pos(ROOM_LEFT, ROOM_TOP);
customWalls.add(vis);
for (int i = 0; i < length(); i++) {
if (map[i] == Terrain.REGION_DECO && Random.Int(2) == 0) {
map[i] = Terrain.REGION_DECO_ALT;
}
}
//basic version of building flag maps for the pathfinder test
for (int i = 0; i < length; i++){
passable[i] = ( Terrain.flags[map[i]] & Terrain.PASSABLE) != 0;