they're very hasty

This commit is contained in:
cat 2025-05-26 15:02:11 +10:00
parent 3840fb0321
commit d65a270aab
10 changed files with 102 additions and 17 deletions

10
dat.h
View file

@ -1,12 +1,20 @@
typedef struct Samply Samply;
typedef struct Image Image;
typedef struct State State;
struct Samply {
Image *idle;
Image *walka;
Image *walkb;
};
struct Image {
char *name; /* used for debugging purposes */
int w;
int h;
int bpp;
unsigned char *data;
SDL_Surface *sur;
SDL_Texture *tex;
};
@ -14,5 +22,5 @@ struct State {
SDL_Window *win;
SDL_Renderer *ren;
Image *test;
Samply *sam;
};