ajbowen249 / dungeon-delver-engine

A Tandy Model 100 and ZX Spectrum implementation of OGL 5.1 in Assembly
4 stars 1 forks source link

Exploration UI Overhaul #6

Closed ajbowen249 closed 5 months ago

ajbowen249 commented 5 months ago

Establishes the MSB of the interactables flags as the "enabled" flag. The previous way of disabling the interactable was to move it off screen, but a later refactor to use the item's location to clear its graphic meant that clearing was no longer idempotent. To make that less painful to use, it also finally adds constants for the common flags. Also gets back quite a few bytes by turning some of the bigger macros into subroutines.