diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-13 16:38:55 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-13 16:38:55 +0000 |
commit | 437cb6d846ee8c08acb9af21ecd2f61930a68433 (patch) | |
tree | 0fcd5a0cef7b0860f787026442aad95282278fd1 /crawl-ref/source | |
parent | 6e45e466e647473b51e0053ad1e595be3bc9f7c8 (diff) | |
download | crawl-ref-437cb6d846ee8c08acb9af21ecd2f61930a68433.tar.gz crawl-ref-437cb6d846ee8c08acb9af21ecd2f61930a68433.zip |
Implemented 1699981: silence mode feedback.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1297 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/output.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index 7071c8f2e1..ede63e2a61 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -516,10 +516,17 @@ void print_stats(void) cprintf( "Invis " ); } + if (you.duration[DUR_SILENCE]) + { + dur_colour( BLUE, (you.duration[DUR_SILENCE] <= 5) ); + cprintf( "Sil " ); + } + // Perhaps this should be reversed to show when it can be used? // In that case, it should be probably be GREEN, and we'd have // to check to see if the player does have a breath weapon. -- bwr - if (you.duration[DUR_BREATH_WEAPON]) + if (you.duration[DUR_BREATH_WEAPON] && + wherex() < get_number_of_cols() - 4) { textcolor( YELLOW ); // no warning cprintf( "BWpn" ); |