benilla-re systems structs docs

s_tileRecords

global · ui

Address
0xbc83a8 · 83968 bytes, up to 0xbdcba7
Type
uint8_t[83968]
Meaning
Holds the 512 tile records of 0xa4 bytes, the first four of which the outdoor draw uses
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.