summaryrefslogtreecommitdiff
path: root/include/sprite.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2024-01-07 14:01:37 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2024-01-07 14:01:37 +0100
commit843440d1e382f909d066c82d2269df67251b35f9 (patch)
treef462ce23f15cf204b4e066d61c6ebab3487b9020 /include/sprite.h
parent7cc854e55d7312c8ddcad42935271ebd9d5751a2 (diff)
player damage indicator and health regen
Diffstat (limited to 'include/sprite.h')
-rw-r--r--include/sprite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sprite.h b/include/sprite.h
index c203595..2775b62 100644
--- a/include/sprite.h
+++ b/include/sprite.h
@@ -27,6 +27,7 @@ sprite create_sprite(image* img, int frame_count, int fwidth, int fheight, float
void update_sprite(sprite* sprite);
void sprite_set_current_frame(sprite* sprite, int index);
sprite_frame sprite_swap_frame_horizontally(sprite_frame frame);
+sprite_frame sprite_swap_rotate_90(sprite_frame frame);
sprite_frame sprite_get_frame(image* img, sprite* sprite);
#endif \ No newline at end of file