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.

41 lines
938 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef C_TF_PROJECTILE_FLARE_H
  7. #define C_TF_PROJECTILE_FLARE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "tf_weaponbase_rocket.h"
  12. #define CTFProjectile_Flare C_TFProjectile_Flare
  13. //-----------------------------------------------------------------------------
  14. // Purpose: Flare projectile.
  15. //-----------------------------------------------------------------------------
  16. class C_TFProjectile_Flare : public C_TFBaseRocket
  17. {
  18. DECLARE_CLASS( C_TFProjectile_Flare, C_TFBaseRocket );
  19. public:
  20. DECLARE_NETWORKCLASS();
  21. C_TFProjectile_Flare();
  22. ~C_TFProjectile_Flare();
  23. virtual void OnDataChanged( DataUpdateType_t updateType );
  24. void CreateTrails( void );
  25. private:
  26. bool m_bCritical;
  27. CNewParticleEffect *pEffect;
  28. };
  29. #endif // C_TF_PROJECTILE_FLARE_H