summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-27 19:48:06 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-27 20:15:38 +0100
commit43ecefb893fbcaf68ba39807507d0dffdfd659d4 (patch)
tree0b011dc04fc0351a10c77e45c3036786f7e3e3fa /crawl-ref/source/traps.h
parent9c0902acd3e145f71eceb785cf3b035a13460914 (diff)
downloadcrawl-ref-43ecefb893fbcaf68ba39807507d0dffdfd659d4.tar.gz
crawl-ref-43ecefb893fbcaf68ba39807507d0dffdfd659d4.zip
Give shafts in corridor ends a good chance of being preknown.
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 7d761e85d2..c39b70482c 100644
--- a/crawl-ref/source/traps.h
+++ b/crawl-ref/source/traps.h
@@ -34,6 +34,7 @@ trap_def* find_trap(const coord_def& where);
trap_type get_trap_type(const coord_def& where);
bool is_valid_shaft_level(const level_id &place = level_id::current());
+bool shaft_known(int depth, bool randomly_placed);
level_id generic_shaft_dest(coord_def pos, bool known);
void handle_items_on_shaft(const coord_def& where, bool open_shaft);