From 47dd86930dcbbe92a989a3f049887b8ae47412d5 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 20 Jan 2008 19:56:38 +0000 Subject: Tiles: Fix the slooooow update of hp/mp during resting because of the coloured bars. Now the bars are redrawn only once resting is over or if it's interrupted. (Hp and mp still grow steadily.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3311 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/output.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/output.h') diff --git a/crawl-ref/source/output.h b/crawl-ref/source/output.h index be635602b8..20ed669dc2 100644 --- a/crawl-ref/source/output.h +++ b/crawl-ref/source/output.h @@ -48,6 +48,11 @@ void update_message_status(); void update_turn_count(); +#ifdef USE_TILE +void draw_hp_bar(int val, int max_val); +void draw_mp_bar(int val, int max_val); +#endif + void print_stats(void); std::vector get_full_detail(bool calc_unid, long score = -1); -- cgit v1.2.3-54-g00ecf