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.

31 lines
1.1 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef PARTICLES_EZ_H
  7. #define PARTICLES_EZ_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "particles_simple.h"
  12. #include "particle_litsmokeemitter.h"
  13. // Use these to fire and forget particles.
  14. // pParticle should be ON THE STACK - ie: don't allocate it from a CSimpleEmitter or from the particle manager.
  15. // Just make one on the stack, fill in its parameters, and pass it in here.
  16. void AddSimpleParticle( const SimpleParticle *pParticle, PMaterialHandle hMaterial, bool bInSkybox=false );
  17. void AddEmberParticle( const SimpleParticle *pParticle, PMaterialHandle hMaterial, bool bInSkybox=false );
  18. void AddFireSmokeParticle( const SimpleParticle *pParticle, PMaterialHandle hMaterial, bool bInSkybox=false );
  19. void AddFireParticle( const SimpleParticle *pParticle, PMaterialHandle hMaterial, bool bInSkybox=false );
  20. // Called by the renderer to draw all the particles.
  21. void DrawParticleSingletons( bool bInSkybox );
  22. #endif // PARTICLES_EZ_H