aboutsummaryrefslogtreecommitdiff
path: root/sp/src/game/client/smoke_fog_overlay.h
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /sp/src/game/client/smoke_fog_overlay.h
downloadsource-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz
source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip
First version of the SOurce SDK 2013
Diffstat (limited to 'sp/src/game/client/smoke_fog_overlay.h')
-rw-r--r--sp/src/game/client/smoke_fog_overlay.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/sp/src/game/client/smoke_fog_overlay.h b/sp/src/game/client/smoke_fog_overlay.h
new file mode 100644
index 00000000..efd6470f
--- /dev/null
+++ b/sp/src/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
+
+