Header file for OGM cinematics. More...
#include "../../shared/ufotypes.h"
Go to the source code of this file.
Functions | |
int | CIN_OGM_PlayCinematic (struct cinematic_s *cin, const char *filename) |
qboolean | CIN_OGM_RunCinematic (struct cinematic_s *cin) |
void | CIN_OGM_StopCinematic (struct cinematic_s *cin) |
void | CIN_OGM_Init (void) |
Header file for OGM cinematics.
Definition in file cl_cinematic_ogm.h.
void CIN_OGM_Init | ( | void | ) |
Definition at line 794 of file cl_cinematic_ogm.c.
References f, long(), yuvTable_t::ub, yuvTable_t::ug, yuvTable_t::vg, yuvTable_t::vr, and yuvTable_t::yy.
Referenced by CIN_Init().
int CIN_OGM_PlayCinematic | ( | cinematic_t * | cin, | |
const char * | filename | |||
) |
vorbis/theora-header & init in sub-functions
"clean" error-returns ...
Definition at line 563 of file cl_cinematic_ogm.c.
References CIN_OGM_LoadBlockToSync(), CIN_OGM_LoadPagesToStream(), CIN_OGM_StopCinematic(), CINEMATIC_TYPE_OGM, cinematic_s::cinematicType, CL_Milliseconds(), cinematic_s::codecData, Com_Printf(), FILE_READ, FS_OpenFile(), M_PlayMusicStream(), Mem_PoolAlloc, OGMCIN, qtrue, and vid_genericPool.
Referenced by CIN_PlayCinematic().
qboolean CIN_OGM_RunCinematic | ( | cinematic_t * | cin | ) |
Definition at line 745 of file cl_cinematic_ogm.c.
References CIN_OGM_DrawCinematic(), CIN_OGM_LoadFrame(), CL_Milliseconds(), OGMCIN, qfalse, and qtrue.
Referenced by CIN_RunCinematic().
void CIN_OGM_StopCinematic | ( | struct cinematic_s * | cin | ) |
Definition at line 759 of file cl_cinematic_ogm.c.
References cinematic_s::codecData, FS_CloseFile(), M_StopMusicStream(), Mem_Free, and OGMCIN.
Referenced by CIN_OGM_PlayCinematic(), and CIN_StopCinematic().