X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fmap.h;h=a1d607ac2d7f0a2cffc949f111be42d9079a8b43;hb=76bcc7383e9b111e02e83c2d822633cf1be88aab;hp=6a39e356e91e225f83c7bdd96f3de734935da568;hpb=350ef2e2d17e8122e2991466f76a9a083a6303e7;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