blob: 9f13651a1db6582db8e7a5698985fe217afef7e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef TILE_PAGE_H
#define TILE_PAGE_H
#include <vector>
class tile;
class tile_page
{
public:
tile_page();
virtual ~tile_page();
bool place_images();
bool write_image(const char *filename);
std::vector<tile*> m_tiles;
std::vector<unsigned int> m_counts;
std::vector<int> m_texcoords;
std::vector<int> m_offsets;
protected:
int m_width;
int m_height;
};
#endif
|