diff options
author | aap <aap@papnet.eu> | 2019-07-18 15:41:09 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-18 15:41:09 +0200 |
commit | fd01f9b25cdc3b527a886ee6b9237b01a5475295 (patch) | |
tree | 6db1dbfeb6feedcf79e870f417b82af29da7ca21 /src/control | |
parent | Merge pull request #147 from erorcun/erorcun (diff) | |
download | re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar.gz re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar.bz2 re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar.lz re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar.xz re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.tar.zst re3-fd01f9b25cdc3b527a886ee6b9237b01a5475295.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/CarAI.cpp | 1 | ||||
-rw-r--r-- | src/control/CarAI.h | 1 | ||||
-rw-r--r-- | src/control/CarCtrl.cpp | 1 | ||||
-rw-r--r-- | src/control/CarCtrl.h | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/control/CarAI.cpp b/src/control/CarAI.cpp index 92dc5ab9..faf27788 100644 --- a/src/control/CarAI.cpp +++ b/src/control/CarAI.cpp @@ -3,3 +3,4 @@ #include "CarAI.h" WRAPPER void CCarAI::UpdateCarAI(CVehicle*) { EAXJMP(0x413E50); } +WRAPPER void CCarAI::MakeWayForCarWithSiren(CVehicle *veh) { EAXJMP(0x416280); } diff --git a/src/control/CarAI.h b/src/control/CarAI.h index d463e1a9..5112f769 100644 --- a/src/control/CarAI.h +++ b/src/control/CarAI.h @@ -6,4 +6,5 @@ class CCarAI { public: static void UpdateCarAI(CVehicle*); + static void MakeWayForCarWithSiren(CVehicle *veh); }; diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index edf4d1ae..5e436c84 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -16,6 +16,7 @@ WRAPPER bool CCarCtrl::JoinCarWithRoadSystemGotoCoors(CVehicle*, CVector, bool) WRAPPER void CCarCtrl::JoinCarWithRoadSystem(CVehicle*) { EAXJMP(0x41F820); } WRAPPER void CCarCtrl::SteerAICarWithPhysics(CVehicle*) { EAXJMP(0x41DA60); } WRAPPER void CCarCtrl::UpdateCarOnRails(CVehicle*) { EAXJMP(0x418880); } +WRAPPER void CCarCtrl::ScanForPedDanger(CVehicle *veh) { EAXJMP(0x418F40); } bool CCarCtrl::MapCouldMoveInThisArea(float x, float y) diff --git a/src/control/CarCtrl.h b/src/control/CarCtrl.h index 7e3f70a9..677dcf36 100644 --- a/src/control/CarCtrl.h +++ b/src/control/CarCtrl.h @@ -14,6 +14,7 @@ public: static void SteerAICarWithPhysics(CVehicle*); static void UpdateCarOnRails(CVehicle*); static bool MapCouldMoveInThisArea(float x, float y); + static void ScanForPedDanger(CVehicle *veh); static int32 &NumLawEnforcerCars; static int32 &NumAmbulancesOnDuty; |