cl_cinematic.c File Reference

#include "cl_cinematic.h"
#include "cl_cinematic_ogm.h"
#include "cl_cinematic_roq.h"
#include "../cl_console.h"
#include "../sound/s_main.h"
#include "../sound/s_music.h"
Include dependency graph for cl_cinematic.c:

Go to the source code of this file.

Functions

void CIN_InitCinematic (cinematic_t *cin)
void CIN_SetParameters (cinematic_t *cin, int x, int y, int w, int h, int status, qboolean noSound)
void CIN_RunCinematic (cinematic_t *cin)
void CIN_PlayCinematic (cinematic_t *cin, const char *fileName)
void CIN_StopCinematic (cinematic_t *cin)
void CIN_Init (void)
void CIN_Shutdown (void)

Detailed Description

Definition in file cl_cinematic.c.


Function Documentation

void CIN_Init ( void   ) 

Definition at line 116 of file cl_cinematic.c.

References CIN_OGM_Init(), and CIN_ROQ_Init().

Referenced by CL_Init().

void CIN_InitCinematic ( cinematic_t cin  ) 

Definition at line 33 of file cl_cinematic.c.

Referenced by CIN_StopCinematic(), and UI_VideoNodeInit().

void CIN_PlayCinematic ( cinematic_t cin,
const char *  fileName 
)
void CIN_RunCinematic ( cinematic_t cin  ) 
void CIN_SetParameters ( cinematic_t cin,
int  x,
int  y,
int  w,
int  h,
int  status,
qboolean  noSound 
)
See also:
UI_Draw
Note:
Coordinates should be relative to VID_NORM_WIDTH and VID_NORM_HEIGHT they are normalized inside this function

Definition at line 43 of file cl_cinematic.c.

References CIN_STATUS_NONE, cinematic_s::h, cinematic_s::noSound, viddef_t::rx, viddef_t::ry, cinematic_s::status, viddef, cinematic_s::w, cinematic_s::x, and cinematic_s::y.

Referenced by UI_VideoNodeDrawOverWindow().

void CIN_Shutdown ( void   ) 

Definition at line 122 of file cl_cinematic.c.

Referenced by CL_Shutdown().

void CIN_StopCinematic ( cinematic_t cin  ) 

Generated by  doxygen 1.6.2