diff options
Diffstat (limited to 'vphysics/physics_vehicle.h')
| -rw-r--r-- | vphysics/physics_vehicle.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/vphysics/physics_vehicle.h b/vphysics/physics_vehicle.h new file mode 100644 index 0000000..c22f377 --- /dev/null +++ b/vphysics/physics_vehicle.h @@ -0,0 +1,25 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef PHYSICS_VEHICLE_H +#define PHYSICS_VEHICLE_H +#ifdef _WIN32 +#pragma once +#endif + + +struct vehicleparams_t; +class IPhysicsVehicleController; +class CPhysicsObject; +class CPhysicsEnvironment; +class IVP_Real_Object; + +bool ShouldOverrideWheelContactFriction( float *pFrictionOut, IVP_Real_Object *pivp0, IVP_Real_Object *pivp1, IVP_U_Float_Point *pNormal ); + +IPhysicsVehicleController *CreateVehicleController( CPhysicsEnvironment *pEnv, CPhysicsObject *pBodyObject, const vehicleparams_t ¶ms, unsigned int nVehicleType, IPhysicsGameTrace *pGameTrace ); + +#endif // PHYSICS_VEHICLE_H |