about summary refs log tree commit diff
path: root/src/game/g_collision.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 11:15:32 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 11:15:32 +0000
commitea245b969d1864441b41d25c7631beccfb39d874 (patch)
tree68fb62ef99cdd90f5dd4ec8edf11e7bb54b7f953 /src/game/g_collision.h
parent906ece7894927983b8ac69e37dd3cb82cfe7aad1 (diff)
downloadzcatch-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.h14
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