From 423e5319e3d3501637fffb11bb5c0acd48c2f424 Mon Sep 17 00:00:00 2001 From: rodri Date: Fri, 15 Nov 2024 16:38:47 +0000 Subject: bts: add vfx. use stringn instead of string. --- fns.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'fns.h') diff --git a/fns.h b/fns.h index 38aa481..c8f8fde 100644 --- a/fns.h +++ b/fns.h @@ -35,6 +35,22 @@ ulong getrand(ulong); Menulist *newmenulist(int, char*); void delmenulist(Menulist*); +/* + * sprite + */ +Sprite *newsprite(Image*, Point, Rectangle, int, ulong); +Sprite *readsprite(char*, Point, Rectangle, int, ulong); +Sprite *readpngsprite(char*, Point, Rectangle, int, ulong); +void delsprite(Sprite*); + +/* + * vfx + */ +Vfx *newvfx(Sprite*, Point, int); +void delvfx(Vfx*); +void addvfx(Vfx*, Vfx*); +void initvfxq(Vfx*); + /* * parse */ -- cgit v1.2.3