Map
There are 128 x 128 map-tiles, where each tile consists of 8 bytes.
.----------------------.
byte 0 - 1 | object info |
|----------------------|
byte 2 | layer 1 |
|----------------------|
byte 3 | layer 2 |
|----------------------|
byte 4 | layer 3 |
|----------------------|
byte 5 | unknown |
|----------------------|
byte 6 | extra |
|----------------------|
byte 7 | read-only tile (?) |
'----------------------'
object info – index into the Ingame Objects Info part
layer 0, layer 1 and layer 2 – same as in Level/Map
extra – this determines some extra properties for the tile
high nibble – shadow (note: only draw the NE wall shadow if there is a wall on layer 1)
0x1 upper triangle (sprite 75 in data/vblk-0.dat)
0x2 NE wall (sprite 156 in data/vblk-0.dat)
0x3 NE wall & upper triangle
0x4 full tile (sprite 74 in data/vblk-0.dat)
0x5 full tile
0x6 NE wall & full tile
0x7 NE wall & full tile
0x8 no shadow
0x9 upper triangle
0xA NE wall
0xB NE wall & upper triangle
0xC full tile
0xD full tile
0xE NE wall & full tile
0xF NE wall & full tile
low nibble – litter
0x1 can (3737 in data/vfra-1.ani)
0x2 banana peel (3738 in data/vfra-1.ani)
0x3 paper (3739 in data/vfra-1.ani)
0x4 rat blood (4533 in data/vfra-1.ani)
0x5 vomit (3741 in data/vfra-1.ani)
0x6 urine (4542 in data/vfra-1.ani)
0x7 rat hole NE (3742 in data/vfra-1.ani)
0x8 rat hole NW