summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-08 13:53:37 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-08 13:53:37 +0000
commit3377d3cffd27809b4b5a4c2e74537836d734972b (patch)
treead4fec067af337bca8a8928094db72c0c42664fc /crawl-ref/source/macro.h
parent314b930ce693ec42f3486248b72deb0ebe7d3855 (diff)
downloadcrawl-ref-3377d3cffd27809b4b5a4c2e74537836d734972b.tar.gz
crawl-ref-3377d3cffd27809b4b5a4c2e74537836d734972b.zip
Flush macro input buffer when fire command fails (Erik).
Allow using the special sequence \{!more} in macros to disable -more- prompts while processing the macro expansion. Fixed a couple of off-by-one errors in the level-map. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1557 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/macro.h')
-rw-r--r--crawl-ref/source/macro.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/macro.h b/crawl-ref/source/macro.h
index 9d8fa4f126..e5b507d531 100644
--- a/crawl-ref/source/macro.h
+++ b/crawl-ref/source/macro.h
@@ -45,6 +45,7 @@ void macro_userfn(const char *keys, const char *registryname);
void macro_buf_add(int key);
bool is_userfunction(int key);
+bool is_synthetic_key(int key);
const char *get_userfunction(int key);