tiles: Added prop ptr to tiles
authorLukas Krickl <lukas@krickl.dev>
Wed, 17 Dec 2025 10:09:14 +0000 (11:09 +0100)
committerLukas Krickl <lukas@krickl.dev>
Wed, 17 Dec 2025 10:09:14 +0000 (11:09 +0100)
src/defs.s
src/macros.inc
src/map.s

index cc2879d5ba7ffae03f4b4c5b5644e01011a59882..75da3a037535d18001d4922b3aebfbd75e7ee713 100644 (file)
        ; actor currently 
        ; standing on tile (ptr)
 .de t_actor, 2
+       ; prop actor ptr
+       ; currently located at this tile
+       ; this actor does not block the tile
+.de t_prop, 2
 .de t_p0, 1
 .de t_size, 0
 
index c6d7c941910c99c04a062478de0ce509ba5c9bc1..2c431d0f0766c03807155efc635f815f2e4aa0b4 100644 (file)
@@ -172,6 +172,8 @@ $1:
        .db $1, $2 
        ; t_actor
        .db 0, 0
+       ; t_prop
+       .db 0, 0
        .db $3
 #endmacro
 
index 26b87b99cba01c4b40291af44b177c98dfd5ef12..8f4360bbea25c64b59bb603da3d2be7bdd3ff36b 100644 (file)
--- a/src/map.s
+++ b/src/map.s
@@ -137,6 +137,8 @@ map_tiles_load:
                inc de
                inc de
                inc de
+               inc de
+               inc de
 
                ; loop counter--
                dec bc