about summary refs log tree commit diff
path: root/src/game/mapres_col.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/mapres_col.h')
-rw-r--r--src/game/mapres_col.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/mapres_col.h b/src/game/mapres_col.h
index 2afad439..83690577 100644
--- a/src/game/mapres_col.h
+++ b/src/game/mapres_col.h
@@ -1,3 +1,4 @@
+#include <baselib/vmath.h>
 
 struct mapres_collision
 {
@@ -8,3 +9,4 @@ struct mapres_collision
 
 int col_init(int dividor);
 int col_check_point(int x, int y);
+bool col_intersect_line(baselib::vec2 pos0, baselib::vec2 pos1, baselib::vec2 *out);