benilla-re systems structs docs

CreateInteriorTarget

function · ui · orchestration

Address
0x4ed9d0 · 164 bytes, up to 0x4eda73
Signature
void __cdecl (void)
Meaning
Builds the blip candidates, sets the initial radius and creates the 256 by 256 interior target texture
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

Callees 5

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