|
wavelength 1.0.0
|
Go to the source code of this file.
Functions | |
| bool | PlayMovieFile (const char *pszPath) |
| Play a PSS movie to its end, or until the player skips it. | |
| bool PlayMovieFile | ( | const char * | pszPath | ) |
Play a PSS movie to its end, or until the player skips it.
The routine allocates every decoder buffer, binds the IOP heap, plays the stream, and frees the buffers again. A path without a device prefix is read through the host link. A path on the cdrom0 device is upper-cased, takes backslashes for slashes, and gains a ;1 version suffix when it does not have one.
Once the movie has played for a little over five seconds, pressing Cross or Start stops it.
The name is inferred. Metagame plays the intro movie through it.
The PAL build shows the movie on a 512-line PAL display, or on a 448-line NTSC display when bNtsc is set, and can initialise the IOP sound library before the audio starts.
| pszPath | The movie, with its device prefix. |
| bNtsc | Nonzero for NTSC output, in the PAL build only. |
| bInitSound | Nonzero to initialise the IOP sound library first, in the PAL build only. |