summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index 320749506b..77368c23be 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -435,14 +435,21 @@ public:
bool can_travel() const { return (type == PHYSICAL); }
};
+void init_exclusion_los();
+void update_exclusion_los(coord_def &p);
+
struct travel_exclude
{
coord_def pos;
int radius;
+ env_show_grid show;
+
+ void set_exclude_show();
travel_exclude(const coord_def &p, int r = LOS_RADIUS)
: pos(p), radius(r)
{
+ set_exclude_show();
}
int radius_sq() const