mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-25 11:19:59 +01:00
5e0a0765ce
The `.editorconfig` file in this repo is configured to trim all trailing whitespace regardless of whether the line is modified. Trims all trailing whitespace in the repository to make the codebase easier to work with in editors that respect `.editorconfig`. `git blame` becomes less useful on these lines but it already isn't very useful. Commands: ``` find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ ```
30 lines
994 B
C
30 lines
994 B
C
/***
|
|
*
|
|
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
|
|
*
|
|
* This product contains software technology licensed from Id
|
|
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
|
|
* All Rights Reserved.
|
|
*
|
|
* Use, distribution, and modification of this source code and/or resulting
|
|
* object code is restricted to non-commercial enhancements to products from
|
|
* Valve LLC. All other use, distribution, or modification is prohibited
|
|
* without written permission from Valve LLC.
|
|
*
|
|
****/
|
|
|
|
#ifndef SCREENFADE_H
|
|
#define SCREENFADE_H
|
|
|
|
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//SCREENFADE_H
|