summaryrefslogtreecommitdiffstats
path: root/src/renderer/TexList.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-07-24 00:02:23 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-07-24 00:02:23 +0200
commitdc729009ac22697406a42c8fddcdf6b470ef8e11 (patch)
treed8682cbb8d3a05410f9530f016ab712a4d37e3d5 /src/renderer/TexList.h
parentfix (diff)
parentMerge branch 'miami' into lcs (diff)
downloadre3-dc729009ac22697406a42c8fddcdf6b470ef8e11.tar
re3-dc729009ac22697406a42c8fddcdf6b470ef8e11.tar.gz
re3-dc729009ac22697406a42c8fddcdf6b470ef8e11.tar.bz2
re3-dc729009ac22697406a42c8fddcdf6b470ef8e11.tar.lz
re3-dc729009ac22697406a42c8fddcdf6b470ef8e11.tar.xz
re3-dc729009ac22697406a42c8fddcdf6b470ef8e11.tar.zst
re3-dc729009ac22697406a42c8fddcdf6b470ef8e11.zip
Diffstat (limited to 'src/renderer/TexList.h')
-rw-r--r--src/renderer/TexList.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/renderer/TexList.h b/src/renderer/TexList.h
new file mode 100644
index 00000000..7e042211
--- /dev/null
+++ b/src/renderer/TexList.h
@@ -0,0 +1,14 @@
+#pragma once
+
+class CTexList
+{
+ enum { MAX_TEXUSED = 400, };
+ static bool ms_nTexUsed[MAX_TEXUSED];
+public:
+ static void Initialise();
+ static void Shutdown();
+ static RwTexture *SetTexture(int32 slot, char *name);
+ static int32 GetFirstFreeTexture();
+ static RwTexture *LoadFileNameTexture(char *name);
+ static void LoadGlobalTextureList();
+}; \ No newline at end of file