diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-02 12:47:03 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-02 12:47:03 +0100 |
commit | dc2516896fa2e73573723346a02c5118f4fa4e2a (patch) | |
tree | 8e072b8fa2ebedb1b6e5cf39317d515bec3c800c /src/core | |
parent | fix ai bug (2) (diff) | |
download | re3-dc2516896fa2e73573723346a02c5118f4fa4e2a.tar re3-dc2516896fa2e73573723346a02c5118f4fa4e2a.tar.gz re3-dc2516896fa2e73573723346a02c5118f4fa4e2a.tar.bz2 re3-dc2516896fa2e73573723346a02c5118f4fa4e2a.tar.lz re3-dc2516896fa2e73573723346a02c5118f4fa4e2a.tar.xz re3-dc2516896fa2e73573723346a02c5118f4fa4e2a.tar.zst re3-dc2516896fa2e73573723346a02c5118f4fa4e2a.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/World.cpp | 1 | ||||
-rw-r--r-- | src/core/World.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp index 0b389e42..950943ad 100644 --- a/src/core/World.cpp +++ b/src/core/World.cpp @@ -48,6 +48,7 @@ WRAPPER void CWorld::FindObjectsIntersectingCube(const CVector &, const CVector WRAPPER void CWorld::FindObjectsIntersectingAngledCollisionBox(const CColBox &, const CMatrix &, const CVector &, float, float, float, float, int16*, int16, CEntity **, bool, bool, bool, bool, bool) { EAXJMP(0x4B3280); } WRAPPER void CWorld::FindObjectsOfTypeInRange(uint32, CVector&, float, bool, short*, short, CEntity**, bool, bool, bool, bool, bool) { EAXJMP(0x4B2600); } WRAPPER void CWorld::FindObjectsOfTypeInRangeSectorList(uint32, CPtrList&, CVector&, float, bool, short*, short, CEntity**) { EAXJMP(0x4B2960); } +WRAPPER void CWorld::FindMissionEntitiesIntersectingCube(const CVector&, const CVector&, int16*, int16, CEntity**, bool, bool, bool) { EAXJMP(0x4B3680); } void CWorld::Initialise() diff --git a/src/core/World.h b/src/core/World.h index 61a44ea0..8111746e 100644 --- a/src/core/World.h +++ b/src/core/World.h @@ -114,6 +114,7 @@ public: static void FindObjectsKindaColliding(const CVector &, float, bool, int16*, int16, CEntity **, bool, bool, bool, bool, bool); static void FindObjectsIntersectingCube(const CVector &, const CVector &, int16*, int16, CEntity **, bool, bool, bool, bool, bool); static void FindObjectsIntersectingAngledCollisionBox(const CColBox &, const CMatrix &, const CVector &, float, float, float, float, int16*, int16, CEntity **, bool, bool, bool, bool, bool); + static void FindMissionEntitiesIntersectingCube(const CVector&, const CVector&, int16*, int16, CEntity**, bool, bool, bool); static float GetSectorX(float f) { return ((f - WORLD_MIN_X)/SECTOR_SIZE_X); } static float GetSectorY(float f) { return ((f - WORLD_MIN_Y)/SECTOR_SIZE_Y); } |