about summary refs log tree commit diff
path: root/src/game/client/mapres_image.h
blob: f841ca53c71ee4daeacb6347492ea061af05a7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */

// loads images from the map to textures
int img_init();

// returns the number of images in the map
int img_num();

// fetches the texture id for the image
int img_get(int index);


class mapres_image
{
public:
	int width;
	int height;
	int image_data;
};