summaryrefslogtreecommitdiff
path: root/AnimationMove.h
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2026-03-16 20:59:04 +0200
committerSyndamia <kamen@syndamia.com>2026-03-16 20:59:04 +0200
commit3e9c46f82430d7bb609cebb57be17c26cba4acb5 (patch)
tree5b03be91eb637b2ce7fb37ac2c67319d0978dbf8 /AnimationMove.h
parente6842e44159d7cc9b1c32dd2baae4df164fa81d2 (diff)
downloadppm_graphics-3e9c46f82430d7bb609cebb57be17c26cba4acb5.tar
ppm_graphics-3e9c46f82430d7bb609cebb57be17c26cba4acb5.tar.gz
ppm_graphics-3e9c46f82430d7bb609cebb57be17c26cba4acb5.zip
chore: Rework renderer functions to use a struct instead of different arguments
Diffstat (limited to 'AnimationMove.h')
-rw-r--r--AnimationMove.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/AnimationMove.h b/AnimationMove.h
index 342144e..48a3b92 100644
--- a/AnimationMove.h
+++ b/AnimationMove.h
@@ -14,7 +14,7 @@ struct AM_Linear {
bool wrapCoordinates;
};
-ARGB AM_Linear(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+ARGB AM_Linear(const Animation* anim, PixelRendererParams params);
struct AM_Spin {
PixelRenderer callback;
@@ -26,6 +26,6 @@ struct AM_Spin {
i32 centerCol;
};
-ARGB AM_Spin(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+ARGB AM_Spin(const Animation* anim, PixelRendererParams params);
#endif /* _ANIMATION_MOVE */