cl_cinematic.h File Reference

Header file for cinematics. More...

#include "../client.h"
Include dependency graph for cl_cinematic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cinematic_s

Typedefs

typedef struct cinematic_s cinematic_t

Enumerations

enum  { CINEMATIC_TYPE_ROQ, CINEMATIC_TYPE_OGM }
enum  cinStatus_t { CIN_STATUS_NONE, CIN_STATUS_PLAYING, CIN_STATUS_PAUSE }

Functions

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

Detailed Description

Header file for cinematics.

Definition in file cl_cinematic.h.


Typedef Documentation

typedef struct cinematic_s cinematic_t

Enumeration Type Documentation

anonymous enum
Enumerator:
CINEMATIC_TYPE_ROQ 
CINEMATIC_TYPE_OGM 

Definition at line 31 of file cl_cinematic.h.

Enumerator:
CIN_STATUS_NONE 

not playing

CIN_STATUS_PLAYING 
CIN_STATUS_PAUSE 

Definition at line 61 of file cl_cinematic.h.


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