summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-11 21:21:17 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-11 21:30:30 +0200
commit6375a952f7c7af262d64d0785ae1af4f30e895df (patch)
tree71eb88d92d88d05b9f7be3e013306d1abbce9dd2 /crawl-ref/source/ray.h
parent38d50b4e0df9c9baab31313c1d1db2b678a72a3a (diff)
downloadcrawl-ref-6375a952f7c7af262d64d0785ae1af4f30e895df.tar.gz
crawl-ref-6375a952f7c7af262d64d0785ae1af4f30e895df.zip
Further cleanup of los.cc.
Don't store ray lengths in a second array, instead store them in the rays. Also store their starting index, which makes the ray_coords indexing a little cleaner.
Diffstat (limited to 'crawl-ref/source/ray.h')
-rw-r--r--crawl-ref/source/ray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h
index c55ff1390e..0bf5609b7f 100644
--- a/crawl-ref/source/ray.h
+++ b/crawl-ref/source/ray.h
@@ -53,7 +53,7 @@ public:
double get_degrees() const;
void set_degrees(double deg);
-private:
+protected:
adv_type raw_advance_0();
void flip();
adv_type raw_advance();