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.

33 lines
897 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #include "cbase.h"
  7. #include "weapon_dodfullauto.h"
  8. #if defined( CLIENT_DLL )
  9. #define CDODFullAutoPunchWeapon C_DODFullAutoPunchWeapon
  10. #endif
  11. class CDODFullAutoPunchWeapon : public CDODFullAutoWeapon
  12. {
  13. public:
  14. DECLARE_CLASS( CDODFullAutoPunchWeapon, CDODFullAutoWeapon );
  15. DECLARE_NETWORKCLASS();
  16. DECLARE_PREDICTABLE();
  17. CDODFullAutoPunchWeapon() {}
  18. virtual void Spawn( void );
  19. virtual void SecondaryAttack( void );
  20. virtual bool Reload( void );
  21. virtual void ItemBusyFrame( void );
  22. virtual const char *GetSecondaryDeathNoticeName( void ) { return "punch"; }
  23. virtual DODWeaponID GetWeaponID( void ) const { return WEAPON_NONE; }
  24. private:
  25. CDODFullAutoPunchWeapon( const CDODFullAutoPunchWeapon & );
  26. };