diff options
author | rodri <rgl@antares-labs.eu> | 2021-03-12 11:37:09 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2021-03-12 11:37:09 +0000 |
commit | 1546beac329d017b86331d0acd2dd0dd86101506 (patch) | |
tree | ddd8c59a8cd0244db1730ba91ba860078205ab51 /fns.h | |
parent | c35a8302c6275a1ba71dcdff15f58310d064a909 (diff) | |
download | gamephysics-1546beac329d017b86331d0acd2dd0dd86101506.tar.gz gamephysics-1546beac329d017b86331d0acd2dd0dd86101506.tar.bz2 gamephysics-1546beac329d017b86331d0acd2dd0dd86101506.zip |
implemented fixed-time dynamics stepper, animated sprites and cleaned things up.
Diffstat (limited to 'fns.h')
-rw-r--r-- | fns.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -9,3 +9,15 @@ Image *eallocimage(Display*, Rectangle, ulong, int, ulong); * stats */ void statsupdate(Stats*, double); + +/* + * physics + */ +void integrate(GameState*, double, double); + +/* + * sprite + */ +Sprite *newsprite(Image*, Point, Rectangle, int, ulong); +Sprite *readsprite(char*, Point, Rectangle, int, ulong); +void delsprite(Sprite*); |