diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-03-28 15:13:49 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-03-28 15:23:05 +0200 |
commit | 9ff5ce4ef0f91568f66ab6a4218ade3c4e881736 (patch) | |
tree | deb51771f5d639e66269c4c45a6e979ab7f68943 /crawl-ref/source/macro.h | |
parent | dd0a93eb586f2713fab18a0fbbc003b64b61445a (diff) | |
download | crawl-ref-9ff5ce4ef0f91568f66ab6a4218ade3c4e881736.tar.gz crawl-ref-9ff5ce4ef0f91568f66ab6a4218ade3c4e881736.zip |
Remove a lot of unused key_recorder stuff.
Diffstat (limited to 'crawl-ref/source/macro.h')
-rw-r--r-- | crawl-ref/source/macro.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/crawl-ref/source/macro.h b/crawl-ref/source/macro.h index 5bfaa160e8..cfff7a70eb 100644 --- a/crawl-ref/source/macro.h +++ b/crawl-ref/source/macro.h @@ -19,24 +19,17 @@ #endif class key_recorder; -typedef bool (*key_recorder_callback)(key_recorder *recorder, - int &ch, bool reverse); typedef std::deque<int> keyseq; class key_recorder { public: bool paused; keyseq keys; - keyseq macro_trigger_keys; - key_recorder_callback call_back; - void* call_back_data; public: - key_recorder(key_recorder_callback cb = NULL, - void* cb_data = NULL); + key_recorder(); void add_key(int key, bool reverse = false); - void remove_trigger_keys(int num_keys); void clear(); }; |