about summary refs log tree commit diff
path: root/src/game/collision.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/collision.hpp')
-rw-r--r--src/game/collision.hpp13
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