diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-12 22:47:16 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-12 22:47:16 +0000 |
commit | 7a66364b0a9a5ee83119698e5d84b8293d3b3b62 (patch) | |
tree | 06539d816f9848f0f190c38df9e70d89bac3b778 /crawl-ref/source/delay.h | |
parent | 53c6ceba3b668484834997f285d25cffa0c07eca (diff) | |
download | crawl-ref-7a66364b0a9a5ee83119698e5d84b8293d3b3b62.tar.gz crawl-ref-7a66364b0a9a5ee83119698e5d84b8293d3b3b62.zip |
Added crawl.process_keys to user Lua API to allow a Lua macro to ask Crawl to process keystrokes immediately, i.e., not wait until the macro has finished running. Also removed player EV penalty during run/rest/travel.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7443 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.h')
-rw-r--r-- | crawl-ref/source/delay.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/delay.h b/crawl-ref/source/delay.h index 5f65eabec8..dd47926e18 100644 --- a/crawl-ref/source/delay.h +++ b/crawl-ref/source/delay.h @@ -77,6 +77,7 @@ bool is_run_delay(int delay); bool is_being_butchered(const item_def &item, bool just_first = true); bool is_vampire_feeding( void ); void stop_butcher_delay(); +void clear_macro_process_key_delay(); const char *activity_interrupt_name(activity_interrupt_type ai); activity_interrupt_type get_activity_interrupt(const std::string &); |