Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
935 B

5 years ago
//========= 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