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