From ea245b969d1864441b41d25c7631beccfb39d874 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 13 Jan 2008 11:15:32 +0000 Subject: new mapformat in place. continued the cleanup. some effects are gone, gonna be redone so no biggie. CTF isn't working now. --- src/game/g_collision.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/game/g_collision.h (limited to 'src/game/g_collision.h') 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 + +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 -- cgit 1.4.1