StartMoviePlayback
function · ui · orchestration
- Address
0x78ce40· 135 bytes, up to0x78cec6- Meaning
- Reads, decodes and starts a movie, returning whether all steps worked
- Confidence
- verified, proof one
- Finding
- ui/movieframe#starting-and-stopping
Finding: Starting and stopping in ui: the movie frame
StartMovie("name") needs a string (Usage: <frame>:StartMovie("filename")). It runs the file reader, the decoder start, the audio start and the subtitle load, sets the playing flag at +0x314, stops the frame pass presenting, sets the clear colour to black, clears, presents
(Presenting mid-frame) and clears again. It returns nil when the file reader or the decoder start fails and 1 otherwise: the audio start and the subtitle load results are ignored. StopMovie() ends a playing movie: it destroys the decoder, the audio and the captions, clears the playing and finished flags and runs
OnMovieFinished (+0x320). The movie also ends by itself at the last frame or when the audio ends. EnableSubtitles([flag]) stores the flag (true when absent) at +0x31c.
The derivation is in the doc.
Callers 1
Callees 8
- SetPresentSuppressed unassigned
- SetClearColorDevice gx
- PresentDevice gx
- ClearDevice gx
- ReadMovieAvi ui
- StartMovieDecoder ui
- StartMovieAudio ui
- LoadMovieSubtitles ui
Calls and jumps by a bare address, from tables/calls.tsv.