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.

40 lines
1.0 KiB

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