2023-10-03 17:23:56 +03:00
|
|
|
|
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
2020-04-22 12:56:21 -04:00
|
|
|
|
//
|
|
|
|
|
// Purpose: insulates client DLL from dependencies on vphysics
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================//
|
|
|
|
|
|
|
|
|
|
#ifndef PHYSICS_H
|
|
|
|
|
#define PHYSICS_H
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "interface.h"
|
|
|
|
|
#include "physics_shared.h"
|
|
|
|
|
|
|
|
|
|
struct objectparams_t;
|
|
|
|
|
struct solid_t;
|
|
|
|
|
|
|
|
|
|
// HACKHACK: Make this part of IClientSystem somehow???
|
|
|
|
|
extern bool PhysicsDLLInit( CreateInterfaceFn physicsFactory );
|
2023-10-03 17:23:56 +03:00
|
|
|
|
|
2020-04-22 12:56:21 -04:00
|
|
|
|
extern void PhysicsReset();
|
|
|
|
|
extern void PhysicsSimulate();
|
|
|
|
|
extern float PhysGetSyncCreateTime();
|
2023-10-03 17:23:56 +03:00
|
|
|
|
extern void VPhysicsShadowDataChanged( bool bCreate, C_BaseEntity *pEntity );
|
2020-04-22 12:56:21 -04:00
|
|
|
|
|
|
|
|
|
#endif // PHYSICS_H
|