This repository has been archived on 2022-01-13. You can view files and clone it, but cannot push or open issues or pull requests.
|
#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 */
|