Made lua run under MSWin with Dev-Cpp 4.9.9.2
[sdlbotor.git] / Tileset.h
blobc31be73455f1e254a87d4330566d92c042c63690
1 #ifndef TILESET_H
2 #define TILESET_H
4 #include "sdlinclude.h"
6 namespace botor
9 //template<unsigned int TILE_WIDTH, unsigned int TILE_HEIGHT>
10 class Tileset
13 SDL_Surface *tileset;
15 unsigned int SET_WIDTH;
16 unsigned int SET_HEIGHT;
18 public:
20 unsigned static const int TILE_WIDTH = 20;
21 unsigned static const int TILE_HEIGHT = 20;
23 Tileset();
24 Tileset( const char* ftile );
25 //~Tileset();
27 bool load( const char* ftile );
29 void unload();
31 void Draw( Sint16 x, Sint16 y, unsigned int tileID );
38 #endif