Counter Strike : Global Offensive Source Code
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.

43 lines
910 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef SMOKE_FOG_OVERLAY_H
  9. #define SMOKE_FOG_OVERLAY_H
  10. #include "basetypes.h"
  11. #include "mathlib/vector.h"
  12. #define ROTATION_SPEED 0.6
  13. #define TRADE_DURATION_MIN 5
  14. #define TRADE_DURATION_MAX 10
  15. #define SMOKEGRENADE_PARTICLERADIUS 55
  16. #define SMOKESPHERE_EXPAND_TIME 5.5 // Take N seconds to expand to SMOKESPHERE_MAX_RADIUS.
  17. #define NUM_PARTICLES_PER_DIMENSION 6
  18. #define SMOKEPARTICLE_OVERLAP 0
  19. #define SMOKEPARTICLE_SIZE 55
  20. #define NUM_MATERIAL_HANDLES 1
  21. void InitSmokeFogOverlay();
  22. void TermSmokeFogOverlay();
  23. void DrawSmokeFogOverlay();
  24. // Set these before calling DrawSmokeFogOverlay.
  25. extern float g_SmokeFogOverlayAlpha;
  26. extern Vector g_SmokeFogOverlayColor;
  27. #endif