about summary refs log tree commit diff
path: root/src/game/client/mapres_image.h
blob: eab1559a84ea0a81f0715a98dd6eed9c382df7d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

// 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;
};