benilla-re systems structs docs

GetZoomLevelCount

function · minimap · orchestration

Address
0x6da9a0 · 6 bytes, up to 0x6da9a5
Signature
uint32_t __cdecl ()
Meaning
Returns 6, the number of zoom levels
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 0

None by a direct call or jump.

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