SBSPSS/Utils/MapEdit/TileSet.h

42 lines
935 B
C
Raw Normal View History

2000-10-27 02:06:19 +02:00
/*********************/
/*** 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>
2000-10-27 20:18:30 +02:00
#include "TexCache.h"
#include "Tile.h"
//#include "GinTex.h"
2000-10-27 02:06:19 +02:00
2000-10-27 20:18:30 +02:00
/*****************************************************************************/
/*****************************************************************************/
2000-10-27 02:06:19 +02:00
/*****************************************************************************/
2000-10-27 20:18:30 +02:00
class CCore;
2000-10-27 02:06:19 +02:00
class CTileSet
{
public:
2000-10-27 22:21:39 +02:00
CTileSet(char *_Filename,CCore *Core);
2000-10-27 02:06:19 +02:00
~CTileSet();
2000-10-27 22:21:39 +02:00
int Load(CCore *Core,char *_Filename);
char *GetPath() {return(Path);}
char *GetFilename() {return(Filename);}
2000-10-27 02:06:19 +02:00
private:
2000-10-27 22:21:39 +02:00
char Path[256];
2000-10-27 02:06:19 +02:00
char Filename[256];
2000-10-27 20:18:30 +02:00
std::vector<CTile> Tile;
2000-10-27 02:06:19 +02:00
};
/*****************************************************************************/
#endif