summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-03-09 23:41:19 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-03-10 14:06:17 +0100
commit5337e7e8dc8155099eb3763d6ca94f930b5c51ff (patch)
tree35f6efa9b00042d836411249763b389c0b1e4ca4 /crawl-ref/source/macro.h
parent4c4b9d7e8c394c5b3041afb1cc52eb14572b8c2d (diff)
downloadcrawl-ref-5337e7e8dc8155099eb3763d6ca94f930b5c51ff.tar.gz
crawl-ref-5337e7e8dc8155099eb3763d6ca94f930b5c51ff.zip
Clean up command repeating.
This fixes some asserts relating to repeating macros and simplifies the whole thing. It may also easily break some things: please check whether things work as expected.
Diffstat (limited to 'crawl-ref/source/macro.h')
-rw-r--r--crawl-ref/source/macro.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/macro.h b/crawl-ref/source/macro.h
index ff091ee407..8ba4758546 100644
--- a/crawl-ref/source/macro.h
+++ b/crawl-ref/source/macro.h
@@ -63,7 +63,8 @@ void macro_save();
void macro_userfn(const char *keys, const char *registryname);
void macro_buf_add(int key, bool reverse = false);
-void macro_buf_add(const keyseq &actions, bool reverse = false );
+void macro_buf_add(const keyseq &actions, bool reverse = false);
+int macro_buf_get();
void macro_buf_add_cmd(command_type cmd, bool reverse = false);