From 10b6e46cd72b6e18482d91a1144a997bd4658c2d Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 11 Jan 2009 22:17:24 +0000 Subject: * 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 --- crawl-ref/source/player.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/player.h') 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); -- cgit v1.2.3-54-g00ecf