diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-01-13 11:15:32 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-01-13 11:15:32 +0000 |
| commit | ea245b969d1864441b41d25c7631beccfb39d874 (patch) | |
| tree | 68fb62ef99cdd90f5dd4ec8edf11e7bb54b7f953 /src/game/g_collision.h | |
| parent | 906ece7894927983b8ac69e37dd3cb82cfe7aad1 (diff) | |
| download | zcatch-ea245b969d1864441b41d25c7631beccfb39d874.tar.gz zcatch-ea245b969d1864441b41d25c7631beccfb39d874.zip | |
new mapformat in place. continued the cleanup. some effects are gone, gonna be redone so no biggie. CTF isn't working now.
Diffstat (limited to 'src/game/g_collision.h')
| -rw-r--r-- | src/game/g_collision.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/g_collision.h b/src/game/g_collision.h new file mode 100644 index 00000000..e738bc64 --- /dev/null +++ b/src/game/g_collision.h @@ -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.h> + +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 |