diff options
author | Florian Diebold <flodiebold@gmail.com> | 2012-08-06 00:37:53 +0200 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2012-11-23 21:28:19 +0100 |
commit | 8b3793078f4f5ef16d60e10bf78b8d317a955080 (patch) | |
tree | 267d0888b6cf61c8b0614a9346291d450a1a4e60 /crawl-ref/source/message.h | |
parent | 4882cf5f39a471a223465d7f033b7f08938180b7 (diff) | |
download | crawl-ref-8b3793078f4f5ef16d60e10bf78b8d317a955080.tar.gz crawl-ref-8b3793078f4f5ef16d60e10bf78b8d317a955080.zip |
Webtiles: Do message scrolling etc. on the client side.
Previously, the message pane was rendered on the server side and its
contents were sent to the client as they were displayed in the
terminal. Now, messages are sent as separate objects. This also
necessitates special handling of more prompts and line_reader for
webtiles.
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r-- | crawl-ref/source/message.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h index 9fa03f3e91..5edd1f2906 100644 --- a/crawl-ref/source/message.h +++ b/crawl-ref/source/message.h @@ -94,6 +94,11 @@ private: bool msuppressed; }; +#ifdef USE_TILE_WEB +void webtiles_send_messages(); +void webtiles_send_last_messages(int n = 20); +#endif + void save_messages(writer& outf); void load_messages(reader& inf); void clear_message_store(); |