diff options
Diffstat (limited to 'game/server/physics_npc_solver.h')
| -rw-r--r-- | game/server/physics_npc_solver.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/game/server/physics_npc_solver.h b/game/server/physics_npc_solver.h new file mode 100644 index 0000000..12e2e18 --- /dev/null +++ b/game/server/physics_npc_solver.h @@ -0,0 +1,19 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef PHYSICS_NPC_SOLVER_H +#define PHYSICS_NPC_SOLVER_H +#ifdef _WIN32 +#pragma once +#endif + + +extern CBaseEntity *NPCPhysics_CreateSolver( CAI_BaseNPC *pNPC, CBaseEntity *pPhysicsObject, bool disableCollisions, float separationDuration ); +extern CBaseEntity *EntityPhysics_CreateSolver( CBaseEntity *pMovingEntity, CBaseEntity *pPhysicsBlocker, bool disableCollisions, float separationDuration ); +bool NPCPhysics_SolverExists( CAI_BaseNPC *pNPC, CBaseEntity *pPhysicsObject ); + + +#endif // PHYSICS_NPC_SOLVER_H |