txd.img creator

This commit is contained in:
Sergeanur
2020-04-09 10:06:30 +03:00
parent 42d5f65c55
commit fd2152923c
4 changed files with 258 additions and 7 deletions

14
src/render/TexList.h Normal file
View File

@@ -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();
};