This commit is contained in:
Daveo 2000-10-27 18:18:30 +00:00
parent 3d8fc3912c
commit a44030464c
10 changed files with 183 additions and 59 deletions

37
Utils/MapEdit/TexCache.h Normal file
View file

@ -0,0 +1,37 @@
/*********************/
/*** Texture Cache ***/
/*********************/
#ifndef __TEXCACHE_HEADER__
#define __TEXCACHE_HEADER__
#include "stdafx.h"
#include "gl3d.h"
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glut.h>
#include <Vector>
struct sTex
{
char Name[256];
GLuint TexID;
};
/*****************************************************************************/
/*****************************************************************************/
/*****************************************************************************/
class CTexCache
{
public:
int ProcessTexture(char *TexName);
int AddTexture(char *TexName);
std::vector<sTex> TexList;
};
/*****************************************************************************/
#endif