diff options
author | quou <quou@disroot.org> | 2024-09-29 16:39:31 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-09-29 16:39:31 +1000 |
commit | be5c7263406aef867501c7965bcced6a7e2898a6 (patch) | |
tree | 1e7d5d3b435456c9eeb2d094c3288df259246750 /physics.h | |
parent | 9ca0a79e9cc784e14c3d8111ccb9ea1a22225472 (diff) |
animation, player movement, physics etc.
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 |