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.

52 lines
1.1 KiB

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