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 | 8b55b8b1448100dec7090a13e04017ff64fa7872 (diff) |
New updates for Hud.cpp and more.
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); } + |