summaryrefslogtreecommitdiffstats
path: root/src/TxdStore.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-13 12:25:55 +0200
committeraap <aap@papnet.eu>2019-06-13 12:25:55 +0200
commitf407c9829fb5eac2c00867d2b31b2766dfe70540 (patch)
tree49afbef27c493ac1406c0b621a29ed5df78e9a86 /src/TxdStore.h
parentimplemented GTA stream read functions (diff)
downloadre3-f407c9829fb5eac2c00867d2b31b2766dfe70540.tar
re3-f407c9829fb5eac2c00867d2b31b2766dfe70540.tar.gz
re3-f407c9829fb5eac2c00867d2b31b2766dfe70540.tar.bz2
re3-f407c9829fb5eac2c00867d2b31b2766dfe70540.tar.lz
re3-f407c9829fb5eac2c00867d2b31b2766dfe70540.tar.xz
re3-f407c9829fb5eac2c00867d2b31b2766dfe70540.tar.zst
re3-f407c9829fb5eac2c00867d2b31b2766dfe70540.zip
Diffstat (limited to 'src/TxdStore.h')
-rw-r--r--src/TxdStore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/TxdStore.h b/src/TxdStore.h
index a9526cf2..50a94a75 100644
--- a/src/TxdStore.h
+++ b/src/TxdStore.h
@@ -15,6 +15,7 @@ class CTxdStore
public:
static void Initialize(void);
static void Shutdown(void);
+ static void GameShutdown(void);
static int AddTxdSlot(const char *name);
static void RemoveTxdSlot(int slot);
static int FindTxdSlot(const char *name);
@@ -23,11 +24,14 @@ public:
static void PopCurrentTxd(void);
static void SetCurrentTxd(int slot);
static void Create(int slot);
+ static int GetNumRefs(int slot);
static void AddRef(int slot);
static void RemoveRef(int slot);
static void RemoveRefWithoutDelete(int slot);
static bool LoadTxd(int slot, RwStream *stream);
static bool LoadTxd(int slot, const char *filename);
+ static bool StartLoadTxd(int slot, RwStream *stream);
+ static bool FinishLoadTxd(int slot, RwStream *stream);
static void RemoveTxd(int slot);
static TxdDef *GetSlot(int slot) { return ms_pTxdPool->GetSlot(slot); }