summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-15 22:31:52 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-15 22:31:52 +0200
commit1795f3d47993e7a9833e6f265bb91fb6ce400f1c (patch)
tree766dd0f14ba4df90cbac836c03cdfc501c9cd009 /src/core/World.cpp
parentfix (diff)
parentMerge pull request #440 from Fire-Head/master (diff)
downloadre3-1795f3d47993e7a9833e6f265bb91fb6ce400f1c.tar
re3-1795f3d47993e7a9833e6f265bb91fb6ce400f1c.tar.gz
re3-1795f3d47993e7a9833e6f265bb91fb6ce400f1c.tar.bz2
re3-1795f3d47993e7a9833e6f265bb91fb6ce400f1c.tar.lz
re3-1795f3d47993e7a9833e6f265bb91fb6ce400f1c.tar.xz
re3-1795f3d47993e7a9833e6f265bb91fb6ce400f1c.tar.zst
re3-1795f3d47993e7a9833e6f265bb91fb6ce400f1c.zip
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r--src/core/World.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index d64569b3..313b958a 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -21,7 +21,7 @@
#include "Population.h"
#include "Fire.h"
-CColPoint *gaTempSphereColPoints = (CColPoint*)0x6E64C0; // [32]
+CColPoint gaTempSphereColPoints[MAX_COLLISION_POINTS];
CPtrList *CWorld::ms_bigBuildingsList = (CPtrList*)0x6FAB60;
CPtrList &CWorld::ms_listMovingEntityPtrs = *(CPtrList*)0x8F433C;
@@ -29,7 +29,7 @@ CSector (*CWorld::ms_aSectors)[NUMSECTORS_X] = (CSector (*)[NUMSECTORS_Y])0x6656
uint16 &CWorld::ms_nCurrentScanCode = *(uint16*)0x95CC64;
uint8 &CWorld::PlayerInFocus = *(uint8 *)0x95CD61;
-CPlayerInfo (&CWorld::Players)[NUMPLAYERS] = *(CPlayerInfo (*)[NUMPLAYERS])*(uintptr*)0x9412F0;
+CPlayerInfo CWorld::Players[NUMPLAYERS];
bool &CWorld::bNoMoreCollisionTorque = *(bool*)0x95CDCC;
CEntity *&CWorld::pIgnoreEntity = *(CEntity**)0x8F6494;
bool &CWorld::bIncludeDeadPeds = *(bool*)0x95CD8F;
@@ -58,6 +58,7 @@ WRAPPER void CWorld::ClearPedsFromArea(float, float, float, float, float, float)
WRAPPER void CWorld::CallOffChaseForArea(float, float, float, float) { EAXJMP(0x4B5530); }
WRAPPER void CWorld::TriggerExplosion(const CVector& a1, float a2, float a3, CEntity *a4, bool a5) { EAXJMP(0x4B1140); }
WRAPPER void CWorld::SetPedsOnFire(float, float, float, float, CEntity*) { EAXJMP(0x4B3D30); }
+WRAPPER void CWorld::UseDetonator(CEntity *) { EAXJMP(0x4B4650); }
void
CWorld::Initialise()