summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ray.h')
-rw-r--r--crawl-ref/source/ray.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h
index 6748090348..92373eddea 100644
--- a/crawl-ref/source/ray.h
+++ b/crawl-ref/source/ray.h
@@ -10,6 +10,7 @@
#include "geom2d.h"
typedef FixedArray<bool,3,3> reflect_grid;
+const coord_def rg_o = coord_def(1,1);
struct ray_def
{
@@ -23,6 +24,7 @@ struct ray_def
coord_def pos() const;
bool advance();
+ coord_def move_to_side();
void bounce(const reflect_grid &rg);
void regress();
};