map: Added new flag for covered tile
authorLukas Krickl <lukas@krickl.dev>
Wed, 30 Jul 2025 15:18:41 +0000 (17:18 +0200)
committerLukas Krickl <lukas@krickl.dev>
Wed, 30 Jul 2025 15:18:41 +0000 (17:18 +0200)
src/defs.s
src/roompatterns.s

index 8d58554373d4de5b5659e9bdae8cecdd68a8e6d5..ce51a5f76adb7d8336a48c142a2fd34c4837a198 100644 (file)
   ; exit table
 .de CF_EXIT, 2
 .de CF_DOOR, 4
+       ; if this flag is set do not 
+       ; set object priority bit 
+       ; so that objects are behind the tile
+.de CF_COVERED, 8
 
   ; cells struct
 .se 0
index 09dd06c64209162f7eb1cbbe685b935f7859ec72..76e745974e503a3d4524792c1dd51ea222ac8de0 100644 (file)
@@ -123,7 +123,7 @@ room_pattern_flags_translation:
  ; doors
  .db CF_DOOR, CF_DOOR, CF_DOOR, CF_DOOR 
  ; roof
- .db 0x00
+ .db CF_COVERED
 
   ; table of 6 by 6 room patterns
 room_pattern_6x6: