Last change
on this file since 79 was
79,
checked in by sam, 11 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 | |
---|
11 | class TileSetData; |
---|
12 | |
---|
13 | class TileSet |
---|
14 | { |
---|
15 | public: |
---|
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 | |
---|
26 | private: |
---|
27 | TileSetData *data; |
---|
28 | }; |
---|
29 | |
---|
30 | #endif // __DH_TILESET_H__ |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.