SBSPSS/Utils/MapEdit/TileSet.h
2000-11-02 15:46:17 +00:00

43 lines
990 B
C++

/*********************/
/*** TileSet Stuph ***/
/*********************/
#ifndef __TILESET_HEADER__
#define __TILESET_HEADER__
#include "stdafx.h"
#include "gl3d.h"
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glut.h>
#include <Vector>
#include "TexCache.h"
#include "Tile.h"
//#include "GinTex.h"
/*****************************************************************************/
/*****************************************************************************/
/*****************************************************************************/
class CCore;
class CTileSet
{
public:
CTileSet(char *_Filename,CCore *Core);
~CTileSet();
int Load(CCore *Core,char *_Filename);
char *GetPath() {return(Path);}
char *GetFilename() {return(Filename);}
GLint GetTile(int No) {return(Tile[No].GetTile());}
private:
char Path[256];
char Filename[256];
std::vector<CTile> Tile;
};
/*****************************************************************************/
#endif