extract image loading

This commit is contained in:
cat 2025-05-26 13:08:18 +10:00
parent 9ece614c73
commit 3840fb0321
5 changed files with 91 additions and 40 deletions

1
dat.h
View file

@ -2,6 +2,7 @@ typedef struct Image Image;
typedef struct State State;
struct Image {
char *name; /* used for debugging purposes */
int w;
int h;
int bpp;