Counter Strike : Global Offensive Source Code
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.
 
 
 
 
 
 

33 lines
888 B

//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// 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 );
extern void PhysicsReset();
extern void PhysicsSimulate();
extern float PhysGetSyncCreateTime();
extern void VPhysicsShadowDataChanged( bool bCreate, C_BaseEntity *pEntity );
void PhysAddShadow( C_BaseEntity *pEntity );
void PhysRemoveShadow( C_BaseEntity *pEntity );
void PhysSetPredictionCommandNum( int iCommandNum );
#endif // PHYSICS_H