summaryrefslogtreecommitdiff
path: root/game/shared/dod/weapon_dodsemiauto.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/shared/dod/weapon_dodsemiauto.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/shared/dod/weapon_dodsemiauto.h')
-rw-r--r--game/shared/dod/weapon_dodsemiauto.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/game/shared/dod/weapon_dodsemiauto.h b/game/shared/dod/weapon_dodsemiauto.h
new file mode 100644
index 0000000..bda1437
--- /dev/null
+++ b/game/shared/dod/weapon_dodsemiauto.h
@@ -0,0 +1,40 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef WEAPON_DODSEMIAUTO_H
+#define WEAPON_DODSEMIAUTO_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "cbase.h"
+#include "shake.h"
+#include "weapon_dodbasegun.h"
+
+
+#if defined( CLIENT_DLL )
+ #define CDODSemiAutoWeapon C_DODSemiAutoWeapon
+#endif
+
+class CDODSemiAutoWeapon : public CWeaponDODBaseGun
+{
+public:
+ DECLARE_CLASS( CDODSemiAutoWeapon, CWeaponDODBaseGun );
+ DECLARE_NETWORKCLASS();
+ DECLARE_PREDICTABLE();
+
+ CDODSemiAutoWeapon();
+
+ virtual void Spawn();
+ virtual void PrimaryAttack( void );
+
+ virtual DODWeaponID GetWeaponID( void ) const { return WEAPON_NONE; }
+
+private:
+ CDODSemiAutoWeapon( const CDODSemiAutoWeapon & );
+};
+
+#endif //WEAPON_DODSEMIAUTO_H \ No newline at end of file