X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmap.h;h=a1d607ac2d7f0a2cffc949f111be42d9079a8b43;hb=2dccba703435158681552b8a8aefccab79eb13f3;hp=6a39e356e91e225f83c7bdd96f3de734935da568;hpb=42f6cd9789e06f0257a078a33fa13aaea0714fce;p=plomrogue diff --git a/src/map.h b/src/map.h index 6a39e35..a1d607a 100644 --- a/src/map.h +++ b/src/map.h @@ -37,6 +37,11 @@ extern void map_scroll(char d); /* Center map on player. */ extern void map_center(); +/* Check if coordinate pos on (or beyond) map is accessible to map object + * movement. + */ +extern uint8_t is_passable(struct Map * map, struct yx_uint16 pos); + #endif