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.

45 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: TF Halloween boss Merasmus grenade projectile functionality.
  4. //
  5. //=============================================================================//
  6. #ifndef TF_WEAPONBASE_MERASMUS_GRENADE_H
  7. #define TF_WEAPONBASE_MERASMUS_GRENADE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "tf_shareddefs.h"
  12. #include "tf_weaponbase_grenadeproj.h"
  13. // Client specific.
  14. #ifdef CLIENT_DLL
  15. #define CTFWeaponBaseMerasmusGrenade C_TFWeaponBaseMerasmusGrenade
  16. #endif
  17. //=============================================================================
  18. //
  19. // TF base grenade projectile class.
  20. //
  21. class CTFWeaponBaseMerasmusGrenade : public CTFWeaponBaseGrenadeProj
  22. {
  23. public:
  24. DECLARE_CLASS( CTFWeaponBaseMerasmusGrenade, CBaseGrenade );
  25. DECLARE_NETWORKCLASS();
  26. virtual int GetDamageCustom();
  27. virtual int GetCustomParticleIndex();
  28. // Client specific.
  29. #ifdef CLIENT_DLL
  30. public:
  31. virtual int DrawModel( int flags );
  32. #endif
  33. };
  34. #endif // TF_WEAPONBASE_MERASMUS_GRENADE_H