s_indoorZoomWidths
global · minimap
- Address
0x8116e8· 24 bytes, up to0x8116ff- Type
const float[6]- Meaning
- Holds the interior window widths 150, 120, 90, 60, 40, 25, indexed by the zoom
- Confidence
- verified, proof one
- Finding
- minimap/update#interior-window
Finding: Interior window in minimap: update
Indoors, the window is a square of the width c of the indoor zoom table {150, 120, 90, 60, 40, 25} at the index 0x86f69c, snapped to the player: min.x = round(px · r − 0.5) · c, min.y = round(py · r − 0.5) · c with r = 1/c, min.z = pz − c/2, max.x = min.x + c, max.y = min.y + c, max.z = c/2 + min.z, rounded half to even.
The node (0x670520) then gives the descriptors of the groups touching the window grown by c all round, at most 0x200. Held tiles are refreshed, the others loaded (tiles#interior-tiles), and the state record gets the window's centre, the position, the radius and the matrices.
The derivation is in the doc.