benilla-re systems structs docs

s_blitQuadInit

global · ui

Address
0xbc8260 · 1 bytes, up to 0xbc8260
Type
uint8_t
Meaning
Holds bit 0 once the blit quad has been written
Confidence
verified, proof one
Finding
minimap/draw#blit-quad-and-offset

Finding: Blit quad and offset in minimap: draw

The blit quad has the corners (-1, -1), (-1, 1), (1, 1) and (1, -1), written once into a static array. It is drawn as a strip in the order 0, 1, 3, 2 with one colour. The caller shifts the target by the player's movement since the composite: the offset is the player position less the composite position, rotated through the two matrices, divided by 3 times the radius, plus 0.5 on each axis.

The derivation is in the doc.