diff options
author | aap <aap@papnet.eu> | 2019-06-16 18:14:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-16 18:14:48 +0200 |
commit | bb526541a956f2876936b2e2320c5da9d32d94d1 (patch) | |
tree | 593f1f52b771e2acb82c923e016fcbf73b204a7a /src/World.h | |
parent | Merge branch 'master' of github.com:GTAmodding/re3 (diff) | |
parent | Changes for the pull request. (diff) | |
download | re3-bb526541a956f2876936b2e2320c5da9d32d94d1.tar re3-bb526541a956f2876936b2e2320c5da9d32d94d1.tar.gz re3-bb526541a956f2876936b2e2320c5da9d32d94d1.tar.bz2 re3-bb526541a956f2876936b2e2320c5da9d32d94d1.tar.lz re3-bb526541a956f2876936b2e2320c5da9d32d94d1.tar.xz re3-bb526541a956f2876936b2e2320c5da9d32d94d1.tar.zst re3-bb526541a956f2876936b2e2320c5da9d32d94d1.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h index 2440906c..77e0fd99 100644 --- a/src/World.h +++ b/src/World.h @@ -2,6 +2,7 @@ #include "Game.h" #include "Lists.h" +#include "PlayerInfo.h" /* Sectors span from -2000 to 2000 in x and y. * With 100x100 sectors, each is 40x40 units. */ @@ -45,6 +46,8 @@ class CWorld static uint16 &ms_nCurrentScanCode; public: + static uint8 &PlayerInFocus; + static CPlayerInfo *Players; static CEntity *&pIgnoreEntity; static bool &bIncludeDeadPeds; static bool &bNoMoreCollisionTorque; @@ -95,3 +98,5 @@ CPed *FindPlayerPed(void); CVector &FindPlayerCoors(CVector &v); CVehicle *FindPlayerVehicle(void); CVehicle *FindPlayerTrain(void); +CVector FindPlayerSpeed(void); +CVector FindPlayerCentreOfWorld_NoSniperShift(void);
\ No newline at end of file |