they're very hasty
This commit is contained in:
parent
3840fb0321
commit
d65a270aab
10 changed files with 102 additions and 17 deletions
10
dat.h
10
dat.h
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue