BlitInteriorTarget
function · ui · primitive
- Address
0x4ec440· 1006 bytes, up to0x4ec82d- Signature
void __thiscall (void *this, float radius, const float *offset, const uint32_t *colour)- Meaning
- Draws the interior target through the circular mask as one quad shifted by the player movement
- Confidence
- verified, proof one
- Finding
- minimap/draw#interior-blit
Finding: Interior blit in minimap: draw
0x4ec440(radius, offset, colour) draws the interior target onto the frame as one quad of corners (+1, +1) and (-1, -1) scaled by half the radius, under an orthographic projection of the same half-extent. Stage 0 shows the target and stage 1 the circular mask, both with texture coordinates generated from the camera-space position. The target is read over its middle two thirds, which is a radius of the full radius in model units, shifted by the offset; the mask maps the whole quad to its extent.
The derivation is in the doc.
Callers 1
Callees 16
- _atexit crt
- GetTextureDeviceObject gx
- GxRsSet gx
- GxRsSetObject gx
- GxRsPush gx
- GxRsPop gx
- GxBuildVerticesCounted gx
- GxDrawCounted gx
- 0x58a340 gx
- SetDeviceProjection gx
- GetDeviceProjection gx
- 0x58b200 gx
- 0x58b220 gx
- 0x58b250 gx
- 0x58b260 gx
- BuildOrthoMatrix gxumath
Calls and jumps by a bare address, from tables/calls.tsv.