summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-08-15 16:51:39 +0200
committereray orçunus <erayorcunus@gmail.com>2019-08-15 16:51:39 +0200
commit5bea16c7ccc617828d0aee2da23c8aa3f87375df (patch)
tree150df121717298a2735f418dcae366417b8404ec /src/core/World.cpp
parentMore peds (diff)
downloadre3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar
re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar.gz
re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar.bz2
re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar.lz
re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar.xz
re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.tar.zst
re3-5bea16c7ccc617828d0aee2da23c8aa3f87375df.zip
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r--src/core/World.cpp18
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())