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.
34 lines
1.2 KiB
34 lines
1.2 KiB
5 years ago
|
//========= 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 );
|
||
|
CBaseEntity *GetPlayerHeldEntity( CBasePlayer *pPlayer );
|
||
|
|
||
|
bool PhysCannonAccountableForObject( CBaseCombatWeapon *pPhysCannon, CBaseEntity *pObject );
|
||
|
|
||
|
#endif // WEAPON_PHYSCANNON_H
|