rpgxef/code/cgame/cg_screenfx.h
Walter Julius 'GSIO01' Hennecke 7f958b7651 Fixed some things ...
- fixed some unsecure code
- fixed lots of warnings
- removed some very long parts of commented code that is not used
anymore
2012-09-09 13:30:56 +02:00

28 lines
524 B
C

//
// 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);
void CG_DrawFullScreenFX(void);