This commit is contained in:
Daveo 2000-10-27 20:21:39 +00:00
parent a44030464c
commit 7764a46abd
5 changed files with 38 additions and 18 deletions

View file

@ -15,7 +15,9 @@
struct sTex
{
char Name[256];
char Path[256];
GLuint TexID;
int Flags;
};
/*****************************************************************************/
@ -25,8 +27,9 @@ class CTexCache
{
public:
int ProcessTexture(char *TexName);
int AddTexture(char *TexName);
int ProcessTexture(char *TexName,char *Path,int Flags);
sTex &GetTex(int Id) {return(TexList[Id]);}
GLuint GetTexGLId(int Id) {return(TexList[Id].TexID);}
std::vector<sTex> TexList;