diff options
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h new file mode 100644 index 0000000..92ef040 --- /dev/null +++ b/src/resources/image.h @@ -0,0 +1,14 @@ +#ifndef IMAGE_H +#define IMAGE_H + +#include "resource.h" + +struct image { + struct resource res; + SDL_Surface *image; +}; + +struct image *img_png_get(const char *path); +void img_png_free(struct image *image); + +#endif |