mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 10:38:20 +00:00
19 lines
258 B
C
19 lines
258 B
C
|
|
||
|
// 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;
|
||
|
};
|