diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-08-17 08:52:24 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-08-17 08:52:24 +0000 |
| commit | d711dd190cac809a9bd278fba03ed974812bb863 (patch) | |
| tree | 00300227625894bcf1e162be2a15e30b77807542 /src/game/collision.hpp | |
| parent | 16912026dbdd7dc9e238492d9d83e37270ae4f06 (diff) | |
| download | zcatch-d711dd190cac809a9bd278fba03ed974812bb863.tar.gz zcatch-d711dd190cac809a9bd278fba03ed974812bb863.zip | |
continued with clean up
Diffstat (limited to 'src/game/collision.hpp')
| -rw-r--r-- | src/game/collision.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/game/collision.hpp b/src/game/collision.hpp new file mode 100644 index 00000000..735e26c5 --- /dev/null +++ b/src/game/collision.hpp @@ -0,0 +1,13 @@ +/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */ +#ifndef GAME_MAPRES_COL_H +#define GAME_MAPRES_COL_H + +#include <base/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 |