benilla-re systems structs docs

s_cameraSettingsFileName

global · uicamera

Address
0x84f788 · 4 bytes, up to 0x84f78b
Type
const char *
Meaning
Holds the pointer to the camera settings file name
Confidence
verified, proof one
Finding
uicamera/view#the-settings-file

Finding: The settings file in uicamera: the camera's saved view

The camera saves cameraDistance and cameraPitch to camera-settings.txt in the character's folder, WTF\Account\<account>\<realm>\<character>\. The file has exactly two lines, the distance first, each ended by a line feed alone: cameraDistance %f and cameraPitch %f, six decimals. The distance is the camera's target distance, so it is the zoom the player chose and never the distance a wall pulled the camera in to. The pitch is written in degrees. The camera reads the file when it is made and writes it when it is destroyed.

The derivation is in the doc.