benilla-re systems structs docs

s_updateDirtyMask

global · minimap

Address
0xcea8bc · 4 bytes, up to 0xcea8bf
Type
uint32_t
Meaning
Holds the update's dirty bits: mask 0x1 the tile window must be rebuilt, mask 0x2 the interior tiles are loaded
Confidence
verified, proof one
Finding
minimap/update#frame-update

Finding: Frame update in minimap: update

UpdateMinimap(node, map, position, offset, scale, records, state, flag) returns 1 when anything changed. It first expires the gossip marker (Gossip marker). When the player's position or the map differs from the cached one, it stores them and asks the node for the interior it is in (Indoor state). It then builds the interior window or, outdoors, prepares the tile block with WorldToScreenScale, when that happened or a change is pending in masks 0x1 and 0x2 of the dirty word 0xcea8bc. A pending change with no movement skips the store and the node query. Then it runs the blip pass PlaceBlips. With no change and the flag set, an outdoor frame still calls WorldToScreenScale for the offset and scale.

The derivation is in the doc.