summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-12 16:43:37 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-12 16:43:37 +0000
commit5ce0d0260a82bfb4b60e52b85070e08c867d14eb (patch)
tree35356f34e8f3a7c569b45266347224d58bb6fd4a /crawl-ref/source/travel.h
parent95786b6d3fc7194f2e859eb015034878c5706e13 (diff)
downloadcrawl-ref-5ce0d0260a82bfb4b60e52b85070e08c867d14eb.tar.gz
crawl-ref-5ce0d0260a82bfb4b60e52b85070e08c867d14eb.zip
Modify the Zot trap "Do you really ...?" prompt to only accept "yes" as a
confirming answer, and add an option trap_prompt that, if set to true (the default) will prompt the player before stepping on known mechanical traps trapwalk.lua considers unsafe. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3611 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index c71853285b..c0ce805db7 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -72,6 +72,9 @@ bool is_travelable_stair(dungeon_feature_type gridc);
command_type direction_to_command( char x, char y );
bool is_resting( void );
bool can_travel_interlevel();
+#ifdef CLUA_BINDINGS
+const char *trap_name(int x, int y);
+#endif
bool is_traversable(dungeon_feature_type grid);
void explore_pickup_event(int did_pickup, int tried_pickup);
bool is_excluded(const coord_def &p);