diff options
author | aap <aap@papnet.eu> | 2020-06-14 23:16:22 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-14 23:16:22 +0200 |
commit | e6d2b49121a8cc03e69be7c9cfa451603332ffc9 (patch) | |
tree | ccbcd7fb863c1210e35a1cdca4300e3f00e209d8 /src/core/World.h | |
parent | fixed boat wake (diff) | |
download | re3-e6d2b49121a8cc03e69be7c9cfa451603332ffc9.tar re3-e6d2b49121a8cc03e69be7c9cfa451603332ffc9.tar.gz re3-e6d2b49121a8cc03e69be7c9cfa451603332ffc9.tar.bz2 re3-e6d2b49121a8cc03e69be7c9cfa451603332ffc9.tar.lz re3-e6d2b49121a8cc03e69be7c9cfa451603332ffc9.tar.xz re3-e6d2b49121a8cc03e69be7c9cfa451603332ffc9.tar.zst re3-e6d2b49121a8cc03e69be7c9cfa451603332ffc9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/World.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/World.h b/src/core/World.h index 2bcc4e43..9465a914 100644 --- a/src/core/World.h +++ b/src/core/World.h @@ -102,8 +102,8 @@ public: static CEntity *TestSphereAgainstWorld(CVector centre, float radius, CEntity *entityToIgnore, bool checkBuildings, bool checkVehicles, bool checkPeds, bool checkObjects, bool checkDummies, bool ignoreSomeObjects); static CEntity *TestSphereAgainstSectorList(CPtrList&, CVector, float, CEntity*, bool); - static void FindObjectsInRangeSectorList(CPtrList&, Const CVector&, float, bool, short*, short, CEntity**); - static void FindObjectsInRange(Const CVector&, float, bool, short*, short, CEntity**, bool, bool, bool, bool, bool); + static void FindObjectsInRangeSectorList(CPtrList &list, Const CVector ¢re, float radius, bool ignoreZ, int16 *numObjects, int16 lastObject, CEntity **objects); + static void FindObjectsInRange(Const CVector ¢re, float radius, bool ignoreZ, int16 *numObjects, int16 lastObject, CEntity **objects, bool checkBuildings, bool checkVehicles, bool checkPeds, bool checkObjects, bool checkDummies); static void FindObjectsOfTypeInRangeSectorList(uint32 modelId, CPtrList& list, const CVector& position, float radius, bool bCheck2DOnly, int16* nEntitiesFound, int16 maxEntitiesToFind, CEntity** aEntities); static void FindObjectsOfTypeInRange(uint32 modelId, const CVector& position, float radius, bool bCheck2DOnly, int16* nEntitiesFound, int16 maxEntitiesToFind, CEntity** aEntities, bool bBuildings, bool bVehicles, bool bPeds, bool bObjects, bool bDummies); static float FindGroundZForCoord(float x, float y); |