1
0
mirror of https://github.com/r4sas/ExtraMirror synced 2025-01-11 07:18:00 +00:00
ExtraMirror/MiniBase/ValveSDK/common/screenfade.h

18 lines
535 B
C
Raw Normal View History

2016-08-20 12:08:02 +00:00
#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 fadeTotalEnd; // Total End Time of the fade (used for FFADE_OUT)
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