aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer/TexList.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-18 00:03:57 +0300
committerSergeanur <s.anureev@yandex.ua>2021-07-18 00:03:57 +0300
commitc937bdbfea8f522d14d7a41f24372bddf5bdafcc (patch)
treeeb8f97f6cf9fac31d7ab90388af232d51cc9c137 /src/renderer/TexList.h
parentc8cb1ed013a880a49f83859757af942ca8bbac19 (diff)
render -> renderer (original name)
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