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