summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-17 16:42:31 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-17 16:45:18 +0200
commit050ad8a6b955cb29b4eb337ba07399da1fb6c3b0 (patch)
tree890a9584a5d29cc67e5e3e154ca0325889cd762d /crawl-ref/source/los.h
parent47332d4cd5e3297f9c80cac5e6cc83790920cf28 (diff)
downloadcrawl-ref-050ad8a6b955cb29b4eb337ba07399da1fb6c3b0.tar.gz
crawl-ref-050ad8a6b955cb29b4eb337ba07399da1fb6c3b0.zip
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.
Diffstat (limited to 'crawl-ref/source/los.h')
-rw-r--r--crawl-ref/source/los.h4
1 files changed, 2 insertions, 2 deletions
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,