Prev: E37D Up: Map Next: E3D8
E3BD: Terrain piece shapes
Nine records of three bytes, read by set_piece_shape, which copies one to piece_dx, piece_dcolumn and piece_rise for the piece being drawn: its run in pixels (negative for a piece that climbs to the left; 0 for a wall), its width in bytes signed the same way (also the step from one column of the ground fill to the next, fill_under_slope), and its rise in pixel rows (0 for a flat piece). Directions 0 to 6 (the high nibble of the map byte) use records 0 to 6, directions 7 to 15 records 0 to 8.
piece_shapes E3BD DEFB $18,$03,$00 0: flat, 24 pixels, 3 bytes
E3C0 DEFB $10,$02,$08 1: climbs right, 16 pixels, 2 bytes, 8 rows
E3C3 DEFB $08,$01,$08 2: climbs right, 8 pixels, 1 byte, 8 rows
E3C6 DEFB $08,$01,$10 3: climbs right, 8 pixels, 1 byte, 16 rows
E3C9 DEFB $F0,$FE,$08 4: climbs left, mirror of 1
E3CC DEFB $F8,$FF,$08 5: climbs left, mirror of 2
E3CF DEFB $F8,$FF,$10 6: climbs left, mirror of 3
E3D2 DEFB $00,$01,$10 7 (direction 14): a wall, 16 rows
E3D5 DEFB $00,$FF,$10 8 (direction 15): the wall, mirrored
Prev: E37D Up: Map Next: E3D8