summaryrefslogtreecommitdiff
path: root/game/shared/hl2mp/weapon_physcannon.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/hl2mp/weapon_physcannon.h')
-rw-r--r--game/shared/hl2mp/weapon_physcannon.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/game/shared/hl2mp/weapon_physcannon.h b/game/shared/hl2mp/weapon_physcannon.h
new file mode 100644
index 0000000..03f60f8
--- /dev/null
+++ b/game/shared/hl2mp/weapon_physcannon.h
@@ -0,0 +1,30 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef WEAPON_PHYSCANNON_H
+#define WEAPON_PHYSCANNON_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+
+//-----------------------------------------------------------------------------
+// Do we have the super-phys gun?
+//-----------------------------------------------------------------------------
+bool PlayerHasMegaPhysCannon();
+
+// force the physcannon to drop an object (if carried)
+void PhysCannonForceDrop( CBaseCombatWeapon *pActiveWeapon, CBaseEntity *pOnlyIfHoldingThis );
+void PhysCannonBeginUpgrade( CBaseAnimating *pAnim );
+
+bool PlayerPickupControllerIsHoldingEntity( CBaseEntity *pPickupController, CBaseEntity *pHeldEntity );
+float PlayerPickupGetHeldObjectMass( CBaseEntity *pPickupControllerEntity, IPhysicsObject *pHeldObject );
+float PhysCannonGetHeldObjectMass( CBaseCombatWeapon *pActiveWeapon, IPhysicsObject *pHeldObject );
+
+CBaseEntity *PhysCannonGetHeldEntity( CBaseCombatWeapon *pActiveWeapon );
+
+#endif // WEAPON_PHYSCANNON_H