diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-17 14:46:19 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-17 14:46:19 +0200 |
commit | 13233ccaed3fd7aad37c99326beee3ddfaf437f3 (patch) | |
tree | 82f5205ffe573d41060ec29646e821841f651837 /src/core/World.cpp | |
parent | more CCarCtrl (diff) | |
parent | Merge pull request #193 from erorcun/erorcun (diff) | |
download | re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar.gz re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar.bz2 re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar.lz re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar.xz re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar.zst re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.zip |
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r-- | src/core/World.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp index c6eb831c..9c3aafcf 100644 --- a/src/core/World.cpp +++ b/src/core/World.cpp @@ -28,10 +28,28 @@ bool &CWorld::bSecondShift = *(bool*)0x95CD54; bool &CWorld::bForceProcessControl = *(bool*)0x95CD6C; bool &CWorld::bProcessCutsceneOnly = *(bool*)0x95CD8B; +bool &CWorld::bDoingCarCollisions = *(bool*)0x95CD8C; +bool &CWorld::bIncludeCarTyres = *(bool*)0x95CDAA; + +WRAPPER void CWorld::Process(void) { EAXJMP(0x4B1A60); } +WRAPPER void CWorld::ShutDown(void) { EAXJMP(0x4AE450); } WRAPPER void CWorld::RemoveReferencesToDeletedObject(CEntity*) { EAXJMP(0x4B3BF0); } WRAPPER void CWorld::FindObjectsKindaColliding(const CVector &, float, bool, int16*, int16, CEntity **, bool, bool, bool, bool, bool){ EAXJMP(0x4B2A30); } void +CWorld::Initialise() +{ + pIgnoreEntity = nil; + bDoingCarCollisions = false; + bSecondShift = false; + bNoMoreCollisionTorque = false; + bProcessCutsceneOnly = false; + bIncludeDeadPeds = false; + bForceProcessControl = false; + bIncludeCarTyres = false; +} + +void CWorld::Add(CEntity *ent) { if(ent->IsVehicle() || ent->IsPed()) |