summaryrefslogtreecommitdiff
path: root/vphysics/physics_vehicle.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /vphysics/physics_vehicle.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'vphysics/physics_vehicle.h')
-rw-r--r--vphysics/physics_vehicle.h25
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 &params, unsigned int nVehicleType, IPhysicsGameTrace *pGameTrace );
+
+#endif // PHYSICS_VEHICLE_H