v3.1.0: finalized visuals for halls rubble
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
@@ -181,6 +181,12 @@ public class HallsBossLevel extends Level {
|
|||||||
vis.pos(ROOM_LEFT, ROOM_TOP);
|
vis.pos(ROOM_LEFT, ROOM_TOP);
|
||||||
customWalls.add(vis);
|
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
|
//basic version of building flag maps for the pathfinder test
|
||||||
for (int i = 0; i < length; i++){
|
for (int i = 0; i < length; i++){
|
||||||
passable[i] = ( Terrain.flags[map[i]] & Terrain.PASSABLE) != 0;
|
passable[i] = ( Terrain.flags[map[i]] & Terrain.PASSABLE) != 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user