ddnet/src/game/collision.hpp
2008-08-17 08:52:24 +00:00

14 lines
300 B
C++

/* 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