mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 18:14:09 +00:00
CCarCtrl Weave stuff done
This commit is contained in:
parent
cd30a76dc5
commit
3c0bbb10f3
2 changed files with 130 additions and 31 deletions
|
@ -65,7 +65,6 @@ public:
|
|||
static void SlowCarDownForOtherCar(CEntity*, CVehicle*, float*, float);
|
||||
static float TestCollisionBetween2MovingRects(CVehicle*, CVehicle*, float, float, CVector*, CVector*, uint8);
|
||||
static float FindAngleToWeaveThroughTraffic(CVehicle*, CPhysical*, float, float);
|
||||
static float FindAngleToWeaveThroughTrafficTest(CVehicle*, CPhysical*, float, float);
|
||||
static void WeaveThroughCarsSectorList(CPtrList&, CVehicle*, CPhysical*, float, float, float, float, float*, float*);
|
||||
static void WeaveForOtherCar(CEntity*, CVehicle*, float*, float*);
|
||||
static void WeaveThroughPedsSectorList(CPtrList&, CVehicle*, CPhysical*, float, float, float, float, float*, float*);
|
||||
|
@ -85,7 +84,6 @@ public:
|
|||
return (float)timeInCurve / pVehicle->AutoPilot.m_nTimeToSpendOnCurrentCurve;
|
||||
}
|
||||
|
||||
/* Used very often and differs from CGeneral::LimitRadianAngle */
|
||||
static float LimitRadianAngle(float angle)
|
||||
{
|
||||
while (angle < -PI)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue