summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-03-30 22:02:36 +0200
committerRobert Vollmert <rvollmert@gmx.net>2010-03-30 22:10:42 +0200
commita26f7ebd1a8523ec6bb7dba1e43637fda316db84 (patch)
treee5974e60a97d4a101b88395c88bea77c31820cc8 /crawl-ref/source/los.h
parent5d327d2668e9baa4c6da85be15645172a485df0e (diff)
downloadcrawl-ref-a26f7ebd1a8523ec6bb7dba1e43637fda316db84.tar.gz
crawl-ref-a26f7ebd1a8523ec6bb7dba1e43637fda316db84.zip
Add los_changed() to signal a global LOS changed.
This is instead of calling invalidate_los() directly, and includes a call to invalidate_agrid(), so we don't need to call both invalidate_los() and invalidate_agrid() when loading a new level, etc.
Diffstat (limited to 'crawl-ref/source/los.h')
-rw-r--r--crawl-ref/source/los.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/los.h b/crawl-ref/source/los.h
index 1f8b69cd28..e1a8fe8f4f 100644
--- a/crawl-ref/source/los.h
+++ b/crawl-ref/source/los.h
@@ -51,4 +51,5 @@ 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);
+void los_changed();
#endif