summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.h
diff options
context:
space:
mode:
authorAlex MacDonald <alex@alexjmacdonald.com>2009-11-17 15:35:35 -0500
committerDavid Ploog <dploog@users.sourceforge.net>2009-11-18 00:21:21 +0100
commited68368fe1c0ab6d048934ec94509750ba2eafb6 (patch)
tree83ce72925db9145e44276bfc2f6ea8751068ddda /crawl-ref/source/traps.h
parent3a6efa8421c1461ae7b8191d3ac57a819abe5eb4 (diff)
downloadcrawl-ref-ed68368fe1c0ab6d048934ec94509750ba2eafb6.tar.gz
crawl-ref-ed68368fe1c0ab6d048934ec94509750ba2eafb6.zip
Created generic interface for detecting traps within a radius.
Signed-off-by: David Ploog <dploog@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/traps.h')
-rw-r--r--crawl-ref/source/traps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/traps.h b/crawl-ref/source/traps.h
index 7f49e2bcca..bd25c0c9a8 100644
--- a/crawl-ref/source/traps.h
+++ b/crawl-ref/source/traps.h
@@ -27,6 +27,7 @@ void check_net_will_hold_monster(monsters *mon);
dungeon_feature_type trap_category(trap_type type);
+int reveal_traps(const int range);
void destroy_trap(const coord_def& pos);
trap_def* find_trap(const coord_def& where);
trap_type get_trap_type(const coord_def& where);