summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-23 12:40:23 +0100
committeraap <aap@papnet.eu>2021-01-23 12:40:23 +0100
commit20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f (patch)
treefa4adbfea0ee59098876151fcab206e71ad12ca5 /src/core/Streaming.h
parentfix (diff)
downloadre3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar
re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar.gz
re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar.bz2
re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar.lz
re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar.xz
re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.tar.zst
re3-20bcd4bd69c601cfccd6ec8b319f26fddbae9e9f.zip
Diffstat (limited to 'src/core/Streaming.h')
-rw-r--r--src/core/Streaming.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/Streaming.h b/src/core/Streaming.h
index 66262721..4b9502e9 100644
--- a/src/core/Streaming.h
+++ b/src/core/Streaming.h
@@ -20,6 +20,7 @@ enum StreamFlags
STREAMFLAGS_40 = 0x40, // TODO(LCS): what's this
STREAMFLAGS_AMBIENT_SCRIPT_OWNED = 0x80,
+ // TODO(LCS): STREAMFLAGS_AMBIENT_SCRIPT_OWNED in STREAMFLAGS_CANT_REMOVE? check CColStore
STREAMFLAGS_CANT_REMOVE = STREAMFLAGS_DONT_REMOVE|STREAMFLAGS_SCRIPTOWNED,
STREAMFLAGS_KEEP_IN_MEMORY = STREAMFLAGS_DONT_REMOVE|STREAMFLAGS_SCRIPTOWNED|STREAMFLAGS_DEPENDENCY,
};
@@ -209,6 +210,17 @@ public:
static void LoadScene(const CVector &pos);
static void LoadSceneCollision(const CVector &pos);
+ static void RegisterPointer(void *ptr, int, bool);
+ static RpAtomic *RegisterAtomic(RpAtomic *atomic, void *);
+ static void RegisterClump(RpClump *clump);
+ static RpAtomic *RegisterInstance(RpAtomic *atomic, void *);
+ static void RegisterInstance(RpClump *clump);
+ static void UnregisterPointer(void *ptr, int);
+ static RpAtomic *UnregisterAtomic(RpAtomic *atomic, void *);
+ static void UnregisterClump(RpClump *clump);
+ static RpAtomic *UnregisterInstance(RpAtomic *atomic, void *);
+ static void UnregisterInstance(RpClump *clump);
+
static void MemoryCardSave(uint8 *buffer, uint32 *length);
static void MemoryCardLoad(uint8 *buffer, uint32 length);