forked from kdx/jtmm2-old
14 lines
287 B
C
14 lines
287 B
C
|
#ifndef _DEF_PLAYER_COLLIDE
|
||
|
#define _DEF_PLAYER_COLLIDE
|
||
|
|
||
|
#include <gint/defs/types.h>
|
||
|
|
||
|
#include "conf.h"
|
||
|
#include "level.h"
|
||
|
|
||
|
/* return tile at the given position
|
||
|
* -1 is out of bound */
|
||
|
uint8_t collide_point(Vec point, const Level *level, uint layer);
|
||
|
|
||
|
#endif /* _DEF_PLAYER_COLLIDE */
|