diff options
| author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-07-24 00:47:04 +0300 |
|---|---|---|
| committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-07-24 00:47:04 +0300 |
| commit | a7e673c2ec6a5ed25f3bae8caab90e2113158c03 (patch) | |
| tree | 8c88859a32b0613a4c28fd1a0432504403e5a5e6 /src/renderer/TexList.h | |
| parent | fix premake (diff) | |
| download | re3-a7e673c2ec6a5ed25f3bae8caab90e2113158c03.tar.gz | |
sync
Diffstat (limited to 'src/renderer/TexList.h')
| -rw-r--r-- | src/renderer/TexList.h | 14 |
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 |
