diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-08 13:53:37 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-08 13:53:37 +0000 |
commit | 3377d3cffd27809b4b5a4c2e74537836d734972b (patch) | |
tree | ad4fec067af337bca8a8928094db72c0c42664fc /crawl-ref/source/defines.h | |
parent | 314b930ce693ec42f3486248b72deb0ebe7d3855 (diff) | |
download | crawl-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/defines.h')
-rw-r--r-- | crawl-ref/source/defines.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/defines.h b/crawl-ref/source/defines.h index 9f8beea1ba..70c24277e5 100644 --- a/crawl-ref/source/defines.h +++ b/crawl-ref/source/defines.h @@ -292,4 +292,10 @@ #define MIN(x, y) MINIMUM(x, y) + +// Synthetic keys: +#define KEY_MACRO_MORE_PROTECT -10 +#define KEY_MACRO_DISABLE_MORE -1 +#define KEY_MACRO_ENABLE_MORE -2 + #endif |