From 050ad8a6b955cb29b4eb337ba07399da1fb6c3b0 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 17 Oct 2009 16:42:31 +0200 Subject: Make default LOS configurable. Setting LOS_RADIUS in defines.h now works. Fixed a couple of things to allow this, including an apparent off-by-one error in crawl_view -- not quite sure this doesn't break anything. --- crawl-ref/source/los.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/los.h') diff --git a/crawl-ref/source/los.h b/crawl-ref/source/los.h index 3b84c3bb76..a9e74a23ff 100644 --- a/crawl-ref/source/los.h +++ b/crawl-ref/source/los.h @@ -13,8 +13,8 @@ bool double_is_zero(const double x); -void setLOSRadius(int newLR); -int get_los_radius_squared(); // XXX +void set_los_radius(int r); +int get_los_radius_sq(); // XXX struct ray_def; bool find_ray(const coord_def& source, const coord_def& target, -- cgit v1.2.3-54-g00ecf