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.

56 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef WEAPON_TFC_SUPER_NAILGUN_H
  7. #define WEAPON_TFC_SUPER_NAILGUN_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "weapon_tfc_nailgun.h"
  12. #if defined( CLIENT_DLL )
  13. #define CTFCSuperNailgun C_TFCSuperNailgun
  14. #endif
  15. // ----------------------------------------------------------------------------- //
  16. // CTFCSuperNailgun class definition.
  17. // ----------------------------------------------------------------------------- //
  18. class CTFCSuperNailgun : public CTFCNailgun
  19. {
  20. public:
  21. DECLARE_CLASS( CTFCSuperNailgun, CTFCNailgun );
  22. DECLARE_NETWORKCLASS();
  23. DECLARE_PREDICTABLE();
  24. #ifndef CLIENT_DLL
  25. DECLARE_DATADESC();
  26. #endif
  27. CTFCSuperNailgun();
  28. virtual TFCWeaponID GetWeaponID( void ) const;
  29. virtual void PrimaryAttack();
  30. // Overrideables.
  31. public:
  32. private:
  33. CTFCSuperNailgun( const CTFCSuperNailgun & ) {}
  34. };
  35. #endif // WEAPON_TFC_SUPER_NAILGUN_H