2020-04-09 20:50:24 +02:00
|
|
|
#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();
|
2020-04-09 09:06:30 +02:00
|
|
|
};
|