diff options
author | _AG <gennariarmando@outlook.com> | 2019-06-15 01:34:19 +0200 |
---|---|---|
committer | _AG <gennariarmando@outlook.com> | 2019-06-15 01:34:36 +0200 |
commit | 92cc1cf3af5c5454eddd464e42c495d3739a1cce (patch) | |
tree | 1de213d2ed114443e28a72e486af0c173b8b3b1a /src/World.cpp | |
parent | Merge pull request #15 from ShFil119/patch-1 (diff) | |
download | re3-92cc1cf3af5c5454eddd464e42c495d3739a1cce.tar re3-92cc1cf3af5c5454eddd464e42c495d3739a1cce.tar.gz re3-92cc1cf3af5c5454eddd464e42c495d3739a1cce.tar.bz2 re3-92cc1cf3af5c5454eddd464e42c495d3739a1cce.tar.lz re3-92cc1cf3af5c5454eddd464e42c495d3739a1cce.tar.xz re3-92cc1cf3af5c5454eddd464e42c495d3739a1cce.tar.zst re3-92cc1cf3af5c5454eddd464e42c495d3739a1cce.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp index 7e408091..1d45dcc8 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -12,6 +12,8 @@ CPtrList &CWorld::ms_listMovingEntityPtrs = *(CPtrList*)0x8F433C; CSector (*CWorld::ms_aSectors)[NUMSECTORS_X] = (CSector (*)[NUMSECTORS_Y])0x665608; uint16 &CWorld::ms_nCurrentScanCode = *(uint16*)0x95CC64; +uint8 &CWorld::PlayerInFocus = *(uint8 *)0x95CD61; +CPlayerInfo *CWorld::Players = (CPlayerInfo *)0x9412F0; bool &CWorld::bNoMoreCollisionTorque = *(bool*)0x95CDCC; CEntity *&CWorld::pIgnoreEntity = *(CEntity**)0x8F6494; bool &CWorld::bIncludeDeadPeds = *(bool*)0x95CD8F; @@ -588,3 +590,6 @@ WRAPPER CPed *FindPlayerPed(void) { EAXJMP(0x4A1150); } WRAPPER CVector &FindPlayerCoors(CVector &v) { EAXJMP(0x4A1030); } WRAPPER CVehicle *FindPlayerVehicle(void) { EAXJMP(0x4A10C0); } WRAPPER CVehicle *FindPlayerTrain(void) { EAXJMP(0x4A1120); } +WRAPPER CVector FindPlayerSpeed(void) { EAXJMP(0x4A1090); } +WRAPPER CVector FindPlayerCentreOfWorld_NoSniperShift(void) { EAXJMP(0x4A11C0); } + |