summaryrefslogtreecommitdiffstats
path: root/src/render/TexList.h
blob: c6618fba33bc18f521914cd37f2567f231bc5be1 (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();
};