summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-03 21:54:20 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-03 21:54:20 +0100
commit5770878427657e6317cb21c73666c9f2d36e0234 (patch)
tree5f19fa97326ac5bef38ec249539912e845856620 /crawl-ref/source/ray.h
parent85ea7c827f4933d11527f5172748206654bafe9b (diff)
downloadcrawl-ref-5770878427657e6317cb21c73666c9f2d36e0234.tar.gz
crawl-ref-5770878427657e6317cb21c73666c9f2d36e0234.zip
Add get_degrees and set_degrees to ray_def; reenable chaos bolt munging.
Diffstat (limited to 'crawl-ref/source/ray.h')
-rw-r--r--crawl-ref/source/ray.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h
index d2bcb0c1e1..ad77e730d4 100644
--- a/crawl-ref/source/ray.h
+++ b/crawl-ref/source/ray.h
@@ -27,6 +27,10 @@ struct ray_def
void bounce(const reflect_grid &rg);
void regress();
+ // Get and set the direction.
+ double get_degrees() const;
+ void set_degrees(double d);
+
bool _valid() const;
};