diff options
Diffstat (limited to 'crawl-ref/source/los.h')
-rw-r--r-- | crawl-ref/source/los.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/los.h b/crawl-ref/source/los.h index 7041c2af0d..92d00090e0 100644 --- a/crawl-ref/source/los.h +++ b/crawl-ref/source/los.h @@ -19,9 +19,12 @@ int get_los_radius_squared(); // XXX struct ray_def; bool find_ray(const coord_def& source, const coord_def& target, - ray_def& ray, bool cycle = false, - const opacity_func &opc = opc_solid, - const bounds_func &bds = bds_default); + ray_def& ray, const opacity_func &opc = opc_solid, + const bounds_func &bds = bds_default, bool cycle = false); +bool exists_ray(const coord_def& source, const coord_def& target, + const opacity_func &opc = opc_solid, + const bounds_func &bds = bds_default); +dungeon_feature_type ray_blocker(const coord_def& source, const coord_def& target); void fallback_ray(const coord_def& source, const coord_def& target, ray_def& ray); |