benilla-re systems structs docs

s_interiorTargetDirty

global · ui

Address
0xbc8308 · 1 bytes, up to 0xbc8308
Type
uint8_t
Meaning
Holds 1 after an interior rebuild until the next frame marks the target for redraw
Confidence
verified, proof one
Finding
minimap/draw#draw-families

Finding: Draw families in minimap: draw

The frame render 0x4ec950 draws one family of tiles per frame, chosen by the indoor byte 0xbc8300. The tile draw runs only when two device readiness values are non-zero; the rest of the render continues without it. When the redraw byte 0xbc8308 is set the draw marks the whole interior target dirty and clears the byte. It then pushes the render states, turns culling, lighting, fog, depth test and depth write off, sets blend mode 2 and builds the tint colour. Indoors it draws the interior target once through the blit; outdoors it draws the records 0 to 3 of the tile array at 0xbc83a8. The other family is not drawn.

The derivation is in the doc.