aboutsummaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-11-15 16:38:47 +0000
committerrodri <rgl@antares-labs.eu>2024-11-15 16:38:47 +0000
commit423e5319e3d3501637fffb11bb5c0acd48c2f424 (patch)
treec94e9a4c437a5dd931c1b1c1cc13057f24833163 /fns.h
parent2d2fda85ac4907d53a26b9afebdfadf9364a6436 (diff)
downloadbattleship-423e5319e3d3501637fffb11bb5c0acd48c2f424.tar.gz
battleship-423e5319e3d3501637fffb11bb5c0acd48c2f424.tar.bz2
battleship-423e5319e3d3501637fffb11bb5c0acd48c2f424.zip
bts: add vfx. use stringn instead of string.
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/fns.h b/fns.h
index 38aa481..c8f8fde 100644
--- a/fns.h
+++ b/fns.h
@@ -36,6 +36,22 @@ 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
*/
Cmdbuf *parsecmd(char*, int);