forked from valve/halflife-sdk
16 lines
459 B
C
16 lines
459 B
C
|
#if !defined( SCREENFADEH )
|
||
|
#define SCREENFADEH
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
typedef struct screenfade_s
|
||
|
{
|
||
|
float fadeSpeed; // How fast to fade (tics / second) (+ fade in, - fade out)
|
||
|
float fadeEnd; // When the fading hits maximum
|
||
|
float fadeReset; // When to reset to not fading (for fadeout and hold)
|
||
|
byte fader, fadeg, fadeb, fadealpha; // Fade color
|
||
|
int fadeFlags; // Fading flags
|
||
|
} screenfade_t;
|
||
|
|
||
|
#endif // !SCREENFADEH
|