rpgxef/code/cgame/cg_screenfx.h
Walter Julius Hennecke ea956a8d21 Added include guards to all cgame headers ...
where they were missing.
2013-09-03 22:42:30 +02:00

34 lines
621 B
C

//
// full-screen effects like beaming in/out, static from being hit, etc.
//
#ifndef CG_SCREENFX_H_
#define CG_SCREENFX_H_
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);
#endif /* CG_SCREENFX_H_ */