summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-03-22 09:33:34 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-03-22 18:49:32 +0100
commit3831bbf8c31baf96cefc7016689805fea1320035 (patch)
tree902a349f188c2ae6e096ecb150fcba8881920d61 /crawl-ref/source/los.h
parent0d95dc671575c8b38eb1d18f20fa9537f9c38d5e (diff)
downloadcrawl-ref-3831bbf8c31baf96cefc7016689805fea1320035.tar.gz
crawl-ref-3831bbf8c31baf96cefc7016689805fea1320035.zip
Invalidate global LOS where appropriate.
Also move the call to areas_actor_moved to actor::set_position.
Diffstat (limited to 'crawl-ref/source/los.h')
-rw-r--r--crawl-ref/source/los.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/los.h b/crawl-ref/source/los.h
index 9fa854e3c2..1f8b69cd28 100644
--- a/crawl-ref/source/los.h
+++ b/crawl-ref/source/los.h
@@ -47,7 +47,8 @@ void losight(los_grid& sh, const coord_def& center,
const circle_def &bds = BDS_DEFAULT);
void losight(los_grid& sh, const los_param& param);
-void los_actor_moved(const actor* act);
+void los_actor_moved(const actor* act, const coord_def& oldpos);
+void los_monster_died(const monsters* mon);
void los_terrain_changed(const coord_def& p);
void los_cloud_changed(const coord_def& p);
#endif