summaryrefslogtreecommitdiff
path: root/game/shared/hl1/hl1mp_basecombatweapon_shared.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/hl1/hl1mp_basecombatweapon_shared.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/shared/hl1/hl1mp_basecombatweapon_shared.h')
-rw-r--r--game/shared/hl1/hl1mp_basecombatweapon_shared.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/game/shared/hl1/hl1mp_basecombatweapon_shared.h b/game/shared/hl1/hl1mp_basecombatweapon_shared.h
new file mode 100644
index 0000000..3e417a7
--- /dev/null
+++ b/game/shared/hl1/hl1mp_basecombatweapon_shared.h
@@ -0,0 +1,42 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+#include "hl1_basecombatweapon_shared.h"
+
+#ifndef BASEHL1MPCOMBATWEAPON_SHARED_H
+#define BASEHL1MPCOMBATWEAPON_SHARED_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#if defined( CLIENT_DLL )
+#define CBaseHL1MPCombatWeapon C_BaseHL1MPCombatWeapon
+#endif
+
+
+class CBaseHL1MPCombatWeapon : public CBaseHL1CombatWeapon
+{
+ DECLARE_CLASS( CBaseHL1MPCombatWeapon, CBaseHL1CombatWeapon );
+public :
+ CBaseHL1MPCombatWeapon();
+
+ DECLARE_NETWORKCLASS();
+ DECLARE_PREDICTABLE();
+
+public :
+ void EjectShell( CBaseEntity *pPlayer, int iType );
+
+ CBasePlayer* GetPlayerOwner() const;
+ virtual void WeaponSound( WeaponSound_t sound_type, float soundtime = 0.0f );
+
+#ifdef CLIENT_DLL
+ void OnDataChanged( DataUpdateType_t type );
+ bool ShouldPredict();
+
+ void ApplyBoneMatrixTransform( matrix3x4_t& transform );
+#endif
+ bool IsPredicted() const;
+
+};
+
+
+#endif // #ifndef BASEHL1MPCOMBATWEAPON_SHARED_H \ No newline at end of file