summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-16 01:53:55 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-16 01:53:55 +0000
commitfcffc0bf3760f37f5fe969cdef0bfe5746fa8676 (patch)
tree13ef0891b7c994499c1b93f59988c3010ebd7a89 /crawl-ref/source/stuff.h
parentbea6f1793e9d3bf56739fefe6b546f837d143130 (diff)
downloadcrawl-ref-fcffc0bf3760f37f5fe969cdef0bfe5746fa8676.tar.gz
crawl-ref-fcffc0bf3760f37f5fe969cdef0bfe5746fa8676.zip
Pull yes or no questions requiring a typed "yes" into into a yes_or_no(),
analagous to "yesno". Tested with zot,lava,water,quit. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3666 c06c8d41-db1a-0410-9941-cceddc491573
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 54214fb8b8..7517b589cd 100644
--- a/crawl-ref/source/stuff.h
+++ b/crawl-ref/source/stuff.h
@@ -70,6 +70,7 @@ void redraw_screen();
void canned_msg(canned_message_type which_message);
+bool yes_or_no( const char* fmt, ... );
typedef std::map<int, int> explicit_keymap;
bool yesno( const char * str, bool safe = true, int safeanswer = 0,
bool clear_after = true, bool interrupt_delays = true,