very wonky movement implementation

This commit is contained in:
cat 2025-05-28 18:57:21 +10:00
parent d2155bf27e
commit 0fc07ac95e
6 changed files with 74 additions and 13 deletions

4
fns.h
View file

@ -8,4 +8,6 @@ Image *load_image(SDL_Renderer *ren, char *path);
int samply_step(State *st);
void put_samply_to_bed(Samply *sam);
Samply *wake_samply_up(SDL_Renderer *ren);
Samply *wake_samply_up(State *st);
int in_bounds(Image *i, int x, int y, SDL_Rect *bounds);