summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-12 23:09:31 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-12 23:10:43 +0100
commita57747c0c0f207a2cb5bee3e4d576f1feb355f96 (patch)
tree2311bf623b4bf2bcf3c3a709786930c2fb373c03 /crawl-ref/source/stuff.h
parent4f78c6e2e966681bc6249febc076bd7fa51ffe46 (diff)
downloadcrawl-ref-a57747c0c0f207a2cb5bee3e4d576f1feb355f96.tar.gz
crawl-ref-a57747c0c0f207a2cb5bee3e4d576f1feb355f96.zip
Rewrite zap_los_monsters using monster_iter.
Not sure it was broken before, but it's cleaner now. Also move tutorial item zapping into a separate function.
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r--crawl-ref/source/stuff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h
index 4a7fab6c11..fe5ff15245 100644
--- a/crawl-ref/source/stuff.h
+++ b/crawl-ref/source/stuff.h
@@ -93,6 +93,7 @@ template <typename Z> inline Z sgn(Z x)
}
bool is_trap_square(dungeon_feature_type grid);
+void zap_los_items();
void zap_los_monsters();
int integer_sqrt(int value);