Team Fortress 2 Source Code as on 22/4/2020
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.

25 lines
784 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef PHYSICS_VEHICLE_H
  8. #define PHYSICS_VEHICLE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. struct vehicleparams_t;
  13. class IPhysicsVehicleController;
  14. class CPhysicsObject;
  15. class CPhysicsEnvironment;
  16. class IVP_Real_Object;
  17. bool ShouldOverrideWheelContactFriction( float *pFrictionOut, IVP_Real_Object *pivp0, IVP_Real_Object *pivp1, IVP_U_Float_Point *pNormal );
  18. IPhysicsVehicleController *CreateVehicleController( CPhysicsEnvironment *pEnv, CPhysicsObject *pBodyObject, const vehicleparams_t &params, unsigned int nVehicleType, IPhysicsGameTrace *pGameTrace );
  19. #endif // PHYSICS_VEHICLE_H