ShutdownMinimap
function · ui · orchestration
- Address
0x4eda80· 239 bytes, up to0x4edb6e- Signature
void __cdecl (void)- Meaning
- Resets the minimap, releases the tile textures, the interior target and the blip arrays and clears the active flag
- Confidence
- verified, proof one
- Finding
- minimap/draw#interior-target
Finding: Interior target in minimap: draw
The interior target is a 256 by 256 texture with one level, created once with a redraw callback. Its format is 1 when the device capabilities word at +0x70 is set, else 4 when +0x7c is, else 0. The callback acts only for mode 1: it makes the texture render target 0, sets a full viewport, clears the colour to black with the frame's alpha, draws the tiles with the composite pass and restores the target, the clear colour and the viewport. The initial radius is 10.0, which the first interior rebuild replaces.
The derivation is in the doc.
Callers 1
- LeaveWorldUI ui
Callees 5
- HandleClose base
- 0x4ef680 ui
- GxTexDestroy gx
- SMemFree storm
- ResetMinimap minimap
Calls and jumps by a bare address, from tables/calls.tsv.