diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-10 20:17:00 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-10 20:17:00 +0200 |
commit | be260b49b1e5421a96f78ae2f0512220d5805274 (patch) | |
tree | 16f21f6f45c749120e3853a4369fe39348344102 /src/render/TexList.h | |
parent | record init (diff) | |
parent | disabling the code that freezes gang members (diff) | |
download | re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.gz re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.bz2 re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.lz re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.xz re3-be260b49b1e5421a96f78ae2f0512220d5805274.tar.zst re3-be260b49b1e5421a96f78ae2f0512220d5805274.zip |
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..7e042211 --- /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 |