rpgxef/code/cgame/cg_screenfx.h
Harry Young 2e27219e28 Cleaned up last and Replaced all ints in cgame by int32_t
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-16 15:43:41 +02:00

28 lines
544 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
{
int32_t events[MAX_SCREENFX];
int32_t cgStartTimes[MAX_SCREENFX];
int32_t cgEndTimes[MAX_SCREENFX];
} screenFX_t;
extern screenFX_t theScreenFX;
void CG_AddFullScreenEffect(int32_t screenfx, int32_t clientNum);
void CG_DrawFullScreenFX(void);