Textdateiankuckdingviech.
[hackover2013-badge-firmware.git] / badge / jumpnrun / collision.h
1 #ifndef INCLUDED_COLLISION_H
2 #define INCLUDED_COLLISION_H
3
4 #include "moveable.h"
5 #include "jumpnrun.h"
6 #include "../util/rectangle.h"
7 #include <stdbool.h>
8
9 uint8_t collision_displace(vec2d *desired_pos,
10 jumpnrun_moveable *current,
11 rectangle const *obstacle,
12 vec2d *inertia_mod);
13
14 bool collisions_tiles_displace(vec2d *desired_position,
15 jumpnrun_moveable *thing,
16 jumpnrun_level const *level,
17 jumpnrun_tile_range const *visible_tiles,
18 vec2d *inertia_mod);
19
20 #endif
This page took 0.045793 seconds and 5 git commands to generate.