blades-engine handle wall types

This commit is contained in:
2022-06-12 17:54:35 +00:00
parent 7a36c8d194
commit fe957c0455
4 changed files with 42 additions and 6 deletions

View File

@@ -104,8 +104,10 @@ class Scenario {
var outdoorWidth = 48;
var outdoorHeight = 48;
// TODO above ground/underground?
// section name, max length 21, followed by floor tile columns
var sec = new TileMap(outdoorWidth, outdoorHeight, stream.readCString(19));
var sec = new TileMap(outdoorWidth, outdoorHeight, stream.readCString(19), Outdoors(false));
trace(sec.name);
for (x in 0...outdoorWidth) {