halflife-sdk/common/screenfade.h

25 lines
740 B
C
Raw Normal View History

2002-12-23 00:00:00 +00:00
//========= Copyright <20> 1996-2002, Valve LLC, All rights reserved. ============
2001-11-08 00:00:00 +00:00
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
2000-06-05 00:00:00 +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
2001-08-29 00:00:00 +00:00
float fadeTotalEnd; // Total End Time of the fade (used for FFADE_OUT)
2000-06-05 00:00:00 +00:00
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;
2001-08-29 00:00:00 +00:00
#endif // !SCREENFADEH