diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-11 22:17:24 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-11 22:17:24 +0000 |
commit | 10b6e46cd72b6e18482d91a1144a997bd4658c2d (patch) | |
tree | fec46db004298c36654518c1f99ee0608394bf89 /crawl-ref/source/player.h | |
parent | 6f27175d3cc8b754380035036d1dbbb109b5cebe (diff) | |
download | crawl-ref-10b6e46cd72b6e18482d91a1144a997bd4658c2d.tar.gz crawl-ref-10b6e46cd72b6e18482d91a1144a997bd4658c2d.zip |
* Clean up handling of duration values that trigger expiration warnings
and the like.
* On '%': add " (expiring)" to durations about to expire.
* On '@': Prepend "Expiring: " to durations about to expire.
* Add a few messages that were missing to '@'.
No changes of duration thresholds.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8416 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r-- | crawl-ref/source/player.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index d37b00d2f5..bbf4683c66 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -291,6 +291,8 @@ unsigned long exp_needed(int lev); /* *********************************************************************** * called from: acr * *********************************************************************** */ +int get_expiration_threshold(duration_type dur); +bool dur_expiring(duration_type dur); void display_char_status(void); |