summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-19 21:59:45 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-19 21:59:45 +0000
commitf76829ed22a7b9d20b0a217e7c988abd110de634 (patch)
treecb175be92b55c1a180e6ae464cb2ab6f582356dd /crawl-ref/source/traps.h
parentb7fc7189b832bdbd745f3ca615c69376394661cc (diff)
downloadcrawl-ref-f76829ed22a7b9d20b0a217e7c988abd110de634.tar.gz
crawl-ref-f76829ed22a7b9d20b0a217e7c988abd110de634.zip
A KFEAT specified trap can start out known to the player by adding "known"
to the trap name. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10581 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/traps.h')
-rw-r--r--crawl-ref/source/traps.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/traps.h b/crawl-ref/source/traps.h
index 709618915e..20fc98452f 100644
--- a/crawl-ref/source/traps.h
+++ b/crawl-ref/source/traps.h
@@ -35,6 +35,8 @@ bool player_caught_in_net();
void clear_trapping_net();
void check_net_will_hold_monster(monsters *mon);
+dungeon_feature_type trap_category(trap_type type);
+
void destroy_trap(const coord_def& pos);
trap_def* find_trap(const coord_def& where);
trap_type get_trap_type(const coord_def& where);