2022-12-17 13:32:43 +01:00
|
|
|
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
|
2013-08-30 13:34:05 -07:00
|
|
|
//
|
2021-11-28 16:54:48 +01:00
|
|
|
// Purpose:
|
2013-08-30 13:34:05 -07:00
|
|
|
//
|
|
|
|
// $NoKeywords: $
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
typedef struct screenfade_s
|
|
|
|
{
|
2021-11-28 16:54:48 +01:00
|
|
|
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
|
2013-08-30 13:34:05 -07:00
|
|
|
} screenfade_t;
|