ddnet/src/game/client/mapres_image.h

19 lines
258 B
C
Raw Normal View History

2007-05-22 15:03:32 +00:00
// 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;
};