benilla-re systems structs docs

InitBlitQuadDtor

function · ui · orchestration

Address
0x4ec830 · 1 bytes, up to 0x4ec830
Signature
void __cdecl (void)
Meaning
Returns at once as the exit handler of the blit quad
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.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.