diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-09 10:06:30 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-09 10:28:50 +0300 |
commit | fd2152923c514d58226f2356ba4b8f43de02dccf (patch) | |
tree | eb8525db2da1274a4a5c5955cacd4d9b0684af94 /src/render/TexList.h | |
parent | 42d5f65c5525f2c6ec2237b2e46c570751554c1a (diff) |
txd.img creator
Diffstat (limited to 'src/render/TexList.h')
-rw-r--r-- | src/render/TexList.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/render/TexList.h b/src/render/TexList.h new file mode 100644 index 00000000..c6618fba --- /dev/null +++ b/src/render/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 |