about summary refs log tree commit diff
path: root/src/game/g_collision.hpp
blob: e42764c1a885bbe33ed1bec21d2361587a8c6652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.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