AAAAA IT ANIMATES

i will probably handle animation with an Animation struct
containing an array of frames, with options to set intervals
and whether it loops or reverts to another state after
the animation is done
This commit is contained in:
cat 2025-05-26 15:39:16 +10:00
parent 304282f5fe
commit aa95148fc9
2 changed files with 14 additions and 1 deletions

1
dat.h
View file

@ -21,6 +21,7 @@ struct Image {
struct State {
SDL_Window *win;
SDL_Renderer *ren;
Uint64 lastframe;
Samply *sam;
};