diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-01-25 21:48:27 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-01-25 22:19:58 +0100 |
commit | 179dc7be7b15ee81c6d07b701f106c61fce342b5 (patch) | |
tree | 4e3e4effb290a4b33313263aca7fb6c9225d6e60 /crawl-ref/source/message.h | |
parent | f1d7d9c63e53d034dc1ac0c567674403c9a3c2b6 (diff) | |
download | crawl-ref-179dc7be7b15ee81c6d07b701f106c61fce342b5.tar.gz crawl-ref-179dc7be7b15ee81c6d07b701f106c61fce342b5.zip |
Change handling of delayed messaging leading dash.
This is now output throught msgwin_new_cmd, called from the
main loop from input().
It outputs the normal light gray new turn dash if a turn
has passed since the light command; this dash will move
up through messages, indicating the last turn start.
If no turn has passed, it outputs a dark gray dash.
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r-- | crawl-ref/source/message.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h index 4e0ad0d28a..2b4b823dc8 100644 --- a/crawl-ref/source/message.h +++ b/crawl-ref/source/message.h @@ -67,6 +67,9 @@ template<int> static int msgwin_get_line_autohist_temp(std::string prompt, #define msgwin_get_line_autohist(prompt, buf, len) \ msgwin_get_line_autohist_temp<__LINE__>(prompt, buf, len) +// Tell the message window that the game is about to read a new +// command from the player. +void msgwin_new_cmd(); class no_messages { |