24 lines
954 B
C
24 lines
954 B
C
//========= 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
|