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.

44 lines
1.1 KiB

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef WEAPON_DECOY_H
  7. #define WEAPON_DECOY_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "weapon_basecsgrenade.h"
  12. #ifdef CLIENT_DLL
  13. #define CDecoyGrenade C_DecoyGrenade
  14. #endif
  15. //-----------------------------------------------------------------------------
  16. // Decoy grenades
  17. //-----------------------------------------------------------------------------
  18. class CDecoyGrenade : public CBaseCSGrenade
  19. {
  20. public:
  21. DECLARE_CLASS( CDecoyGrenade, CBaseCSGrenade );
  22. DECLARE_NETWORKCLASS();
  23. DECLARE_PREDICTABLE();
  24. CDecoyGrenade() {}
  25. virtual CSWeaponID GetCSWeaponID( void ) const { return WEAPON_DECOY; }
  26. #if !defined( CLIENT_DLL )
  27. DECLARE_DATADESC();
  28. virtual void EmitGrenade( Vector vecSrc, QAngle vecAngles, Vector vecVel, AngularImpulse angImpulse, CBasePlayer *pPlayer, const CCSWeaponInfo& weaponInfo );
  29. #endif
  30. private:
  31. CDecoyGrenade( const CDecoyGrenade& );
  32. };
  33. #endif // WEAPON_DECOY_H