From be5c7263406aef867501c7965bcced6a7e2898a6 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 29 Sep 2024 16:39:31 +1000 Subject: animation, player movement, physics etc. --- animation.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 animation.h (limited to 'animation.h') diff --git a/animation.h b/animation.h new file mode 100644 index 0000000..983fed8 --- /dev/null +++ b/animation.h @@ -0,0 +1,12 @@ +#ifndef animation_h +#define animation_h + +struct Rect; + +typedef struct Animation { + int fc, s; +} Animation; + +void update_anim(const Animation* a, int* f, struct Rect* r); + +#endif -- cgit v1.2.3-54-g00ecf