summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-08 16:59:14 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-08 16:59:14 +0100
commit613d08d3e2a1613b9699a1af392e8a34291d1192 (patch)
tree4608944398b76a902bb1bb57283f186895b9314a /src/core/Streaming.h
parentAllocator fix (diff)
parentmore stuff (diff)
downloadre3-613d08d3e2a1613b9699a1af392e8a34291d1192.tar
re3-613d08d3e2a1613b9699a1af392e8a34291d1192.tar.gz
re3-613d08d3e2a1613b9699a1af392e8a34291d1192.tar.bz2
re3-613d08d3e2a1613b9699a1af392e8a34291d1192.tar.lz
re3-613d08d3e2a1613b9699a1af392e8a34291d1192.tar.xz
re3-613d08d3e2a1613b9699a1af392e8a34291d1192.tar.zst
re3-613d08d3e2a1613b9699a1af392e8a34291d1192.zip
Diffstat (limited to 'src/core/Streaming.h')
-rw-r--r--src/core/Streaming.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/Streaming.h b/src/core/Streaming.h
index a67384f6..f294a7c5 100644
--- a/src/core/Streaming.h
+++ b/src/core/Streaming.h
@@ -123,6 +123,7 @@ public:
static bool HasColLoaded(int32 id) { return HasModelLoaded(id+STREAM_OFFSET_COL); }
static bool HasAnimLoaded(int32 id) { return HasModelLoaded(id+STREAM_OFFSET_ANIM); }
static bool CanRemoveModel(int32 id) { return (ms_aInfoForModel[id].m_flags & STREAMFLAGS_CANT_REMOVE) == 0; }
+ static bool IsScriptOwnedModel(int32 id) { return (ms_aInfoForModel[id].m_flags & STREAMFLAGS_SCRIPTOWNED); }
static bool CanRemoveTxd(int32 id) { return CanRemoveModel(id+STREAM_OFFSET_TXD); }
static bool CanRemoveCol(int32 id) { return CanRemoveModel(id+STREAM_OFFSET_COL); }
static bool CanRemoveAnim(int32 id) { return CanRemoveModel(id+STREAM_OFFSET_ANIM); }