From 2202e87c466803eeaddd974006aa9950d8e0d067 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 15 Mar 2026 12:23:21 +0200 Subject: feat!: Split into separate files --- AnimationObject.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 AnimationObject.h (limited to 'AnimationObject.h') diff --git a/AnimationObject.h b/AnimationObject.h new file mode 100644 index 0000000..cec9268 --- /dev/null +++ b/AnimationObject.h @@ -0,0 +1,40 @@ +#ifndef _ANIMATION_OBJECT +#define _ANIMATION_OBJECT + +#include "Animation.h" + +struct AO_CheckerPattern { + u32 squareSize; + byte4 colorA; + byte4 colorB; +}; + +ARGB AO_CheckerPattern(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv); + +struct AO_SquareSettings { + u32 width; + u32 height; + byte4 color; +}; + +ARGB AO_Square(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv); + +struct AO_Image { + RGBImage img; + double zoom; + bool noRepeat; +}; + +ARGB AO_Image(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv); + +struct AO_Line { + double a; + double b; + double c; + double width; + byte4 color; +}; + +ARGB AO_Line(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv); + +#endif /* _ANIMATION_OBJECT */ -- cgit v1.2.3