diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-20 19:56:38 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-20 19:56:38 +0000 |
commit | 47dd86930dcbbe92a989a3f049887b8ae47412d5 (patch) | |
tree | 12abba2e3bd5f8c43e50bc469d192eebeabb0934 /crawl-ref/source/output.h | |
parent | 58a4fbec35500d744cb966d43885734b4da5f7d9 (diff) | |
download | crawl-ref-47dd86930dcbbe92a989a3f049887b8ae47412d5.tar.gz crawl-ref-47dd86930dcbbe92a989a3f049887b8ae47412d5.zip |
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
Diffstat (limited to 'crawl-ref/source/output.h')
-rw-r--r-- | crawl-ref/source/output.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<formatted_string> get_full_detail(bool calc_unid, long score = -1); |