summaryrefslogtreecommitdiffstats
path: root/src/renderer/TexList.h
blob: 7e04221131834b93f0adb4d98032fa6abef8c89f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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();
};