summaryrefslogtreecommitdiffstats
path: root/src/Streaming.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-27 14:17:42 +0200
committeraap <aap@papnet.eu>2019-06-27 14:17:42 +0200
commitf6c767d87c5cb04710fb7e2363706d07dfcef8a6 (patch)
tree4c311a58c7989d35d9437046df6dd551be083494 /src/Streaming.h
parentstarted filling debug menu (diff)
downloadre3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.gz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.bz2
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.lz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.xz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.zst
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.zip
Diffstat (limited to 'src/Streaming.h')
-rw-r--r--src/Streaming.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Streaming.h b/src/Streaming.h
index f35c56d5..4caefb6d 100644
--- a/src/Streaming.h
+++ b/src/Streaming.h
@@ -103,7 +103,7 @@ public:
static int32 *ms_imageOffsets; //[NUMCDIMAGES]
static int32 &ms_lastImageRead;
static int32 &ms_imageSize;
- static int32 &ms_memoryAvailable;
+ static uint32 &ms_memoryAvailable;
static void Init(void);
static void Shutdown(void);
@@ -162,9 +162,12 @@ public:
static void ProcessEntitiesInSectorList(CPtrList &list);
static void DeleteFarAwayRwObjects(const CVector &pos);
static void DeleteAllRwObjects(void);
+ static void DeleteRwObjectsAfterDeath(const CVector &pos);
+ static void DeleteRwObjectsBehindCamera(int32 mem);
static void DeleteRwObjectsInSectorList(CPtrList &list);
static void DeleteRwObjectsInOverlapSectorList(CPtrList &list, int32 x, int32 y);
- static void DeleteRwObjectsAfterDeath(const CVector &pos);
+ static bool DeleteRwObjectsBehindCameraInSectorList(CPtrList &list, int32 mem);
+ static bool DeleteRwObjectsNotInFrustumInSectorList(CPtrList &list, int32 mem);
static void LoadInitialPeds(void);
static void LoadInitialVehicles(void);