CCamera::ViewIsUncustomised
function · uicamera · primitive
- Address
0x50fbc0· 108 bytes, up to0x50fc2b- Signature
bool __thiscall (CCamera *this, int view)- Meaning
- Returns whether a view's saved distance, pitch and yaw match their defaults
- Confidence
- verified, proof one
- Finding
- uicamera/follow#gates
- Test
ui::glue_50fbc0_settled
Finding: Gates in uicamera: following and the auto-return
Four tests stand between an edge and an armed channel. The view must be uncustomised, or cameraCustomViewSmoothing set, and the camera's mode
bit 5 clear: the view is uncustomised while its saved distance, pitch and yaw match the default strings within 0.001. Yaw smoothing
needs cameraSmoothYaw set and the target not in mouselook. Pitch smoothing needs cameraSmoothPitch set, which is off by
default, the target not in mouselook and not swimming. Distance smoothing never applies.
The derivation is in the doc.
Callers 1
- CCamera::ViewSmoothingAllowed uicamera
Callees 1
- SStrToFloat storm
Calls and jumps by a bare address, from tables/calls.tsv.