diff options
Diffstat (limited to 'physics.h')
-rw-r--r-- | physics.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/physics.h b/physics.h new file mode 100644 index 0000000..7044996 --- /dev/null +++ b/physics.h @@ -0,0 +1,19 @@ +#ifndef physics_h +#define physics_h + +struct Map; +struct Rect; + +void update_body( + const struct Map* map, + int* x, + int* y, + int* vx, + int* vy, + int* grounded, + int* headbutted, + int* on_ramp, + const struct Rect* r +); + +#endif |