benilla-re systems structs docs

SetZoomIndex

function · minimap · primitive

Address
0x6da8e0 · 158 bytes, up to 0x6da97d
Signature
void __thiscall (void *this)
Meaning
Stores a zoom index of at most 5 in the active cell and its option
Confidence
verified, proof one
Finding
ui/minimap#the-zoom-radius

Finding: The zoom radius in ui: Minimap, the widget

The radius of the disc in yards is 0.5 · 33.333332 · {14, 12, 10, 8, 6, 4}[z] outdoors, 233.3 yards down to 66.7, and {150, 120, 90, 60, 40, 25}[z] indoors, where z is 0 to 5. A byte the minimap update sets chooses between the tables. The two indices are the options minimapZoom and minimapInsideZoom, default 3, read when the blips are rebuilt for a world. SetZoom stores an index of 5 or more as 5, which includes a negative one, in the active index and its option. The ping, the blips and the dots all use this radius.

The derivation is in the doc.

Callers 1

Callees 2

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