benilla-re systems structs docs

CCamera::LeaveMouselook

function · uicamera · primitive

Address
0x50f940 · 79 bytes, up to 0x50f98e
Signature
void __thiscall (CCamera *this, bool noReturn)
Meaning
Leaves mouselook, sets or clears the no-return bit and keeps the live angles
Confidence
verified, proof one
Finding
uicamera/follow#leaving-mouselook

Finding: Leaving mouselook in uicamera: following and the auto-return

When the last primary button is released, 0x514b70 calls 0x50f940(extra) with its third argument. The camera leaves mouselook (ui/mouseover#mouselook), sets mode bit 5 when the argument is nonzero and clears it otherwise, and copies the live yaw, pitch and pivot bias into their transition targets so nothing returns to the view. While bit 5 is set the auto-return is refused (uicamera/cvars#clear-and-band-tests). ToggleMouseMove runs 0x50f910: it leaves mouselook with the argument 0 when mode bit 0 is set and enters it otherwise.

The derivation is in the doc.

Callers 2

Callees 1

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