2012-08-04 10:54:37 +00:00
|
|
|
//
|
|
|
|
// full-screen effects like beaming in/out, static from being hit, etc.
|
|
|
|
//
|
|
|
|
|
|
|
|
enum screenfx_e
|
|
|
|
{
|
|
|
|
SCREENFX_HIT,
|
|
|
|
SCREENFX_HALFSHIELDHIT,
|
|
|
|
SCREENFX_FULLSHIELDHIT,
|
|
|
|
SCREENFX_TRANSPORTER,
|
|
|
|
SCREENFX_SP_TRANSPORTER_IN,
|
|
|
|
SCREENFX_SP_TRANSPORTER_OUT,
|
|
|
|
MAX_SCREENFX
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct screenFX_s
|
|
|
|
{
|
|
|
|
int events[MAX_SCREENFX];
|
|
|
|
int cgStartTimes[MAX_SCREENFX];
|
|
|
|
int cgEndTimes[MAX_SCREENFX];
|
|
|
|
} screenFX_t;
|
|
|
|
|
|
|
|
extern screenFX_t theScreenFX;
|
|
|
|
|
|
|
|
void CG_AddFullScreenEffect(int screenfx, int clientNum);
|
|
|
|
|
2012-09-09 11:30:56 +00:00
|
|
|
void CG_DrawFullScreenFX(void);
|
2012-08-04 10:54:37 +00:00
|
|
|
|