diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/smoke_fog_overlay.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/smoke_fog_overlay.h')
| -rw-r--r-- | game/client/smoke_fog_overlay.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/game/client/smoke_fog_overlay.h b/game/client/smoke_fog_overlay.h new file mode 100644 index 0000000..175e0ec --- /dev/null +++ b/game/client/smoke_fog_overlay.h @@ -0,0 +1,44 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// + +#ifndef SMOKE_FOG_OVERLAY_H +#define SMOKE_FOG_OVERLAY_H + + +#include "basetypes.h" +#include "mathlib/vector.h" +#include "smoke_fog_overlay_shared.h" + + +#define ROTATION_SPEED 0.1 +#define TRADE_DURATION_MIN 10 +#define TRADE_DURATION_MAX 20 +#define SMOKEGRENADE_PARTICLERADIUS 80 + +#define SMOKESPHERE_EXPAND_TIME 1 // Take N seconds to expand to SMOKESPHERE_MAX_RADIUS. + +#define NUM_PARTICLES_PER_DIMENSION 4 +#define SMOKEPARTICLE_OVERLAP 20 + +#define SMOKEPARTICLE_SIZE 80 +#define NUM_MATERIAL_HANDLES 1 + + +void InitSmokeFogOverlay(); +void TermSmokeFogOverlay(); +void DrawSmokeFogOverlay(); + + +// Set these before calling DrawSmokeFogOverlay. +extern float g_SmokeFogOverlayAlpha; +extern Vector g_SmokeFogOverlayColor; + + +#endif + + |