summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/los.h')
-rw-r--r--crawl-ref/source/los.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/crawl-ref/source/los.h b/crawl-ref/source/los.h
index 1c258d34a8..d448037c7e 100644
--- a/crawl-ref/source/los.h
+++ b/crawl-ref/source/los.h
@@ -18,9 +18,11 @@ void setLOSRadius(int newLR);
int get_los_radius_squared(); // XXX
struct ray_def;
-bool find_ray( const coord_def& source, const coord_def& target,
- bool allow_fallback, ray_def& ray, int cycle_dir = 0,
- bool find_shortest = false, bool ignore_solid = false );
+bool find_ray(const coord_def& source, const coord_def& target,
+ ray_def& ray, int cycle_dir = 0, bool find_shortest = false,
+ bool ignore_solid = false);
+void fallback_ray(const coord_def& source, const coord_def& target,
+ ray_def& ray);
int num_feats_between(const coord_def& source, const coord_def& target,
dungeon_feature_type min_feat,