benilla-re systems structs docs

s_minimapPlayerPosition

global · ui

Address
0xbc831c · 12 bytes, up to 0xbc8327
Type
float[3]
Meaning
Holds the player position the blit shifts the interior target by
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.