diff options
Diffstat (limited to 'src/game/g_collision.hpp')
| -rw-r--r-- | src/game/g_collision.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/g_collision.hpp b/src/game/g_collision.hpp new file mode 100644 index 00000000..e42764c1 --- /dev/null +++ b/src/game/g_collision.hpp @@ -0,0 +1,14 @@ +/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */ +#ifndef GAME_MAPRES_COL_H +#define GAME_MAPRES_COL_H + + +#include <game/g_vmath.hpp> + +int col_init(); +int col_is_solid(int x, int y); +int col_width(); +int col_height(); +bool col_intersect_line(vec2 pos0, vec2 pos1, vec2 *out); + +#endif |