source: trunk/src/tileset.h @ 79

Last change on this file since 79 was 79, checked in by sam, 10 years ago

Rendering starts to work again. There is no Z-sorting yet.

  • Property svn:keywords set to Id
File size: 371 bytes
Line 
1
2/*
3 * The tile manager
4 */
5
6#if !defined __DH_TILESET_H__
7#define __DH_TILESET_H__
8
9#include <stdint.h>
10
11class TileSetData;
12
13class TileSet
14{
15public:
16    TileSet(char const *path);
17    ~TileSet();
18
19    void Ref();
20    int Unref();
21
22    char const *GetName();
23
24    void BlitTile(uint32_t id, int x, int y);
25
26private:
27    TileSetData *data;
28};
29
30#endif // __DH_TILESET_H__
31
Note: See TracBrowser for help on using the repository browser.