ddnet/src/game/client/gc_mapres_image.h
2007-12-15 10:24:49 +00:00

20 lines
329 B
C++

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