diff options
author | rodri <rgl@antares-labs.eu> | 2024-11-15 16:38:47 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-11-15 16:38:47 +0000 |
commit | 423e5319e3d3501637fffb11bb5c0acd48c2f424 (patch) | |
tree | c94e9a4c437a5dd931c1b1c1cc13057f24833163 /fns.h | |
parent | 2d2fda85ac4907d53a26b9afebdfadf9364a6436 (diff) | |
download | battleship-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.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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); |