summaryrefslogtreecommitdiffstats
path: root/src/core/World.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-15 14:11:40 +0200
committereray orçunus <erayorcunus@gmail.com>2019-07-15 14:11:40 +0200
commit2c138b2b77cf661d9f119061963a726fdcde56d0 (patch)
tree1c8316f212304c911252b378b3b56368ba4ceaa9 /src/core/World.h
parentlittle change to aspect ratio defines (diff)
downloadre3-2c138b2b77cf661d9f119061963a726fdcde56d0.tar
re3-2c138b2b77cf661d9f119061963a726fdcde56d0.tar.gz
re3-2c138b2b77cf661d9f119061963a726fdcde56d0.tar.bz2
re3-2c138b2b77cf661d9f119061963a726fdcde56d0.tar.lz
re3-2c138b2b77cf661d9f119061963a726fdcde56d0.tar.xz
re3-2c138b2b77cf661d9f119061963a726fdcde56d0.tar.zst
re3-2c138b2b77cf661d9f119061963a726fdcde56d0.zip
Diffstat (limited to 'src/core/World.h')
-rw-r--r--src/core/World.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/World.h b/src/core/World.h
index d6063d70..a8650d93 100644
--- a/src/core/World.h
+++ b/src/core/World.h
@@ -56,6 +56,7 @@ class CWorld
static CPtrList &ms_listMovingEntityPtrs;
static CSector (*ms_aSectors)[NUMSECTORS_X]; // [NUMSECTORS_Y][NUMSECTORS_X];
static uint16 &ms_nCurrentScanCode;
+ static CColPoint &ms_testSpherePoint;
public:
static uint8 &PlayerInFocus;
@@ -94,6 +95,8 @@ public:
static bool GetIsLineOfSightSectorClear(CSector &sector, const CColLine &line, bool checkBuildings, bool checkVehicles, bool checkPeds, bool checkObjects, bool checkDummies, bool ignoreSeeThrough, bool ignoreSomeObjects = false);
static bool GetIsLineOfSightSectorListClear(CPtrList &list, const CColLine &line, bool ignoreSeeThrough, bool ignoreSomeObjects = false);
+ static CEntity* TestSphereAgainstWorld(CVector, float, CEntity*, bool, bool, bool, bool, bool, bool);
+ static CEntity* TestSphereAgainstSectorList(CPtrList&, CVector, float, CEntity*, bool);
static void FindObjectsInRangeSectorList(CPtrList&, CVector&, float, bool, short*, short, CEntity**);
static void FindObjectsInRange(CVector&, float, bool, short*, short, CEntity**, bool, bool, bool, bool, bool);
static float FindGroundZForCoord(float x, float y);