summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-04-22 17:55:07 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-04-22 20:54:22 +0200
commit25c916767aad28a6ebc0446674af7abb2dc91468 (patch)
tree7d15d0cb0ba37753ff03ef25218f3942c60ba894 /crawl-ref/source/delay.h
parent9e140c92cb6fd56a49a7a951ef5054784ceb4776 (diff)
downloadcrawl-ref-25c916767aad28a6ebc0446674af7abb2dc91468.tar.gz
crawl-ref-25c916767aad28a6ebc0446674af7abb2dc91468.zip
Auto-eat while travelling.
If you set the easy_eat_chunks option and are carrying an edible chunk it will be automatically eaten without interrupting travel, run or rest.
Diffstat (limited to 'crawl-ref/source/delay.h')
-rw-r--r--crawl-ref/source/delay.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/delay.h b/crawl-ref/source/delay.h
index 0de04c28d1..bc56640e0b 100644
--- a/crawl-ref/source/delay.h
+++ b/crawl-ref/source/delay.h
@@ -87,6 +87,7 @@ void handle_interrupted_swap(bool swap_if_safe = false,
void clear_macro_process_key_delay();
activity_interrupt_type get_activity_interrupt(const std::string &);
+bool is_delay_interruptible(delay_type delay);
const char *delay_name(int delay);
delay_type get_delay(const std::string &);