ddnet/src/game/mapres_col.h

13 lines
247 B
C
Raw Normal View History

2007-07-13 13:40:04 +00:00
#include <baselib/vmath.h>
2007-05-22 15:03:32 +00:00
struct mapres_collision
{
int width;
int height;
int data_index;
};
int col_init(int dividor);
int col_check_point(int x, int y);
2007-07-13 13:40:04 +00:00
bool col_intersect_line(baselib::vec2 pos0, baselib::vec2 pos1, baselib::vec2 *out);