diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-29 17:05:16 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-29 17:05:16 +0200 |
commit | 1d620f4b6740ba7e44fd7885462c7ef040a89f77 (patch) | |
tree | cea8dd2512beda0e5e973df75c17c08401aeaa8d /src/World.h | |
parent | more replay stuff, bug fix (diff) | |
parent | fix (diff) | |
download | re3-1d620f4b6740ba7e44fd7885462c7ef040a89f77.tar re3-1d620f4b6740ba7e44fd7885462c7ef040a89f77.tar.gz re3-1d620f4b6740ba7e44fd7885462c7ef040a89f77.tar.bz2 re3-1d620f4b6740ba7e44fd7885462c7ef040a89f77.tar.lz re3-1d620f4b6740ba7e44fd7885462c7ef040a89f77.tar.xz re3-1d620f4b6740ba7e44fd7885462c7ef040a89f77.tar.zst re3-1d620f4b6740ba7e44fd7885462c7ef040a89f77.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/World.h b/src/World.h index d88448fb..fb9b3b7e 100644 --- a/src/World.h +++ b/src/World.h @@ -69,6 +69,7 @@ public: static void Remove(CEntity *entity); static void Add(CEntity *entity); + static void Remove(CEntity *ent); static CSector *GetSector(int x, int y) { return &ms_aSectors[y][x]; } static CPtrList &GetBigBuildingList(eLevelName i) { return ms_bigBuildingsList[i]; } @@ -111,9 +112,11 @@ public: class CPlayerPed; class CVehicle; CPlayerPed *FindPlayerPed(void); -CVector &FindPlayerCoors(CVector &v); CVehicle *FindPlayerVehicle(void); CVehicle *FindPlayerTrain(void); +CEntity *FindPlayerEntity(void); +CVector FindPlayerCoors(void); CVector &FindPlayerSpeed(void); -CVector FindPlayerCentreOfWorld_NoSniperShift(void); +CVector &FindPlayerCentreOfWorld(int32 player); +CVector &FindPlayerCentreOfWorld_NoSniperShift(void); float FindPlayerHeading(void); |