EndCinematic
function · ui · primitive
- Address
0x48f080· 377 bytes, up to0x48f1f8- Meaning
- Ends a cinematic, restoring the music, the cursor and the zone channels
- Confidence
- verified, proof one
- Finding
- uicamera/cinematic#stepping-and-ending
- Test
ui::dist2_48f080
Finding: Stepping and ending in uicamera: the in-engine cinematic
When a shot's animation finishes, 0x48efc0 schedules 0x48efe0 after 0.25 seconds. 0x48efe0 stops the narration, adds 1 to the shot index and, below 8, plays the shot whose camera id is at +0x08 + 4 * index; with none left it ends the cinematic. 0x48f050 skips: it stops the narration and
schedules the end. 0x48f080 ends it: it signals event 371 (CINEMATIC_STOP), prepares the area under the camera's target when the camera is
over 30 yards from it, releases the shot, stops the sounds, restores the music, shows the cursor, clears the word and rejoins the zone chat channels when the player is not a ghost.
The derivation is in the doc.
Callers 2
Callees 16
- CDataStore::PutUInt32 base
- 0x442190 unassigned
- AsyncFileReadWaitAll client
- SndInterfacePauseZoneMusic sound
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- GetActiveCamera ui
- ZoneChannelRefresh ui
- ReverseScreenFade ui
- CCamera::ReleaseShot uicamera
- SetCursorShown gx
- ClientServices::Send net
- RefreshAllNodes objectlayer
- CWorld::UnloadAreas terrain
- FrameScript_SignalEvent ui
- Sound::Stop sound
Calls and jumps by a bare address, from tables/calls.tsv.