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.

39 lines
848 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef WEAPON_DODSEMIAUTO_H
  7. #define WEAPON_DODSEMIAUTO_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "cbase.h"
  12. #include "shake.h"
  13. #include "weapon_dodbasegun.h"
  14. #if defined( CLIENT_DLL )
  15. #define CDODSemiAutoWeapon C_DODSemiAutoWeapon
  16. #endif
  17. class CDODSemiAutoWeapon : public CWeaponDODBaseGun
  18. {
  19. public:
  20. DECLARE_CLASS( CDODSemiAutoWeapon, CWeaponDODBaseGun );
  21. DECLARE_NETWORKCLASS();
  22. DECLARE_PREDICTABLE();
  23. CDODSemiAutoWeapon();
  24. virtual void Spawn();
  25. virtual void PrimaryAttack( void );
  26. virtual DODWeaponID GetWeaponID( void ) const { return WEAPON_NONE; }
  27. private:
  28. CDODSemiAutoWeapon( const CDODSemiAutoWeapon & );
  29. };
  30. #endif //WEAPON_DODSEMIAUTO_H