Team Fortress 2 Source Code as on 22/4/2020
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.

44 lines
935 B

  1. //========= Copyright 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. #include "smoke_fog_overlay_shared.h"
  13. #define ROTATION_SPEED 0.1
  14. #define TRADE_DURATION_MIN 10
  15. #define TRADE_DURATION_MAX 20
  16. #define SMOKEGRENADE_PARTICLERADIUS 80
  17. #define SMOKESPHERE_EXPAND_TIME 1 // Take N seconds to expand to SMOKESPHERE_MAX_RADIUS.
  18. #define NUM_PARTICLES_PER_DIMENSION 4
  19. #define SMOKEPARTICLE_OVERLAP 20
  20. #define SMOKEPARTICLE_SIZE 80
  21. #define NUM_MATERIAL_HANDLES 1
  22. void InitSmokeFogOverlay();
  23. void TermSmokeFogOverlay();
  24. void DrawSmokeFogOverlay();
  25. // Set these before calling DrawSmokeFogOverlay.
  26. extern float g_SmokeFogOverlayAlpha;
  27. extern Vector g_SmokeFogOverlayColor;
  28. #endif