From 437cb6d846ee8c08acb9af21ecd2f61930a68433 Mon Sep 17 00:00:00 2001 From: haranp Date: Fri, 13 Apr 2007 16:38:55 +0000 Subject: Implemented 1699981: silence mode feedback. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1297 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/output.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source') 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" ); -- cgit v1.2.3-54-g00ecf