benilla-re systems structs docs

s_interiorTarget

global · ui

Address
0xbc8304 · 4 bytes, up to 0xbc8307
Type
void *
Meaning
Holds the 256 by 256 texture the interior tiles are composited into
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.