From 3e9c46f82430d7bb609cebb57be17c26cba4acb5 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 16 Mar 2026 20:59:04 +0200 Subject: chore: Rework renderer functions to use a struct instead of different arguments --- AnimationMove.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AnimationMove.h') 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 */ -- cgit v1.2.3