Header file for ROQ cinematics. More...
#include "../../shared/ufotypes.h"
Go to the source code of this file.
Functions | |
void | CIN_ROQ_PlayCinematic (struct cinematic_s *cin, const char *fileName) |
qboolean | CIN_ROQ_RunCinematic (struct cinematic_s *cin) |
void | CIN_ROQ_StopCinematic (struct cinematic_s *cin) |
void | CIN_ROQ_Init (void) |
Header file for ROQ cinematics.
Definition in file cl_cinematic_roq.h.
void CIN_ROQ_Init | ( | void | ) |
Definition at line 623 of file cl_cinematic_roq.c.
References f, i, Q_ftol, roqCin_quadOffsets2, roqCin_quadOffsets4, roqCin_sqrTable, yuvTable_t::ub, yuvTable_t::ug, yuvTable_t::vg, and yuvTable_t::vr.
Referenced by CIN_Init().
void CIN_ROQ_PlayCinematic | ( | struct cinematic_s * | cin, | |
const char * | fileName | |||
) |
Definition at line 561 of file cl_cinematic_roq.c.
References byte, chunk(), CINEMATIC_TYPE_ROQ, cinematic_s::cinematicType, CL_Milliseconds(), cinematic_s::codecData, Com_Error(), Com_Printf(), ERR_DROP, FILE_READ, roqChunk_t::flags, FS_CloseFile(), FS_OpenFile(), FS_Read(), header, roqChunk_t::id, LittleLong(), LittleShort(), M_PlayMusicStream(), Mem_Free, Mem_PoolAlloc, cinematic_s::name, Q_strncpyz(), ROQ_CHUNK_HEADER_SIZE, ROQ_IDENT, ROQCIN, roqChunk_t::size, and vid_genericPool.
Referenced by CIN_PlayCinematic().
qboolean CIN_ROQ_RunCinematic | ( | cinematic_t * | cin | ) |
Definition at line 535 of file cl_cinematic_roq.c.
References CIN_ROQ_DecodeChunk(), and CIN_ROQ_DrawCinematic().
Referenced by CIN_RunCinematic().
void CIN_ROQ_StopCinematic | ( | struct cinematic_s * | cin | ) |
Definition at line 543 of file cl_cinematic_roq.c.
References cinematic_s::codecData, Com_Printf(), FS_CloseFile(), M_StopMusicStream(), Mem_Free, and ROQCIN.
Referenced by CIN_StopCinematic().