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.

38 lines
851 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef DOD_SMOKEGRENADE_GER_H
  7. #define DOD_SMOKEGRENADE_GER_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "dod_smokegrenade.h"
  12. class CDODSmokeGrenadeGER : public CDODSmokeGrenade
  13. {
  14. public:
  15. DECLARE_CLASS( CDODSmokeGrenadeGER, CDODSmokeGrenade );
  16. // Overrides.
  17. public:
  18. CDODSmokeGrenadeGER() {}
  19. virtual void Spawn();
  20. virtual void Precache();
  21. // Grenade stuff.
  22. public:
  23. static CDODSmokeGrenadeGER* Create(
  24. const Vector &position,
  25. const QAngle &angles,
  26. const Vector &velocity,
  27. const AngularImpulse &angVelocity,
  28. CBaseCombatCharacter *pOwner );
  29. virtual DODWeaponID GetEmitterWeaponID() { return WEAPON_SMOKE_GER; }
  30. };
  31. #endif // DOD_SMOKEGRENADE_GER_H