From 06000612f935e9e431ef2cab3dc00cf9022fe69b Mon Sep 17 00:00:00 2001 From: haranp Date: Tue, 3 Jul 2007 13:23:10 +0000 Subject: Initial spell-power-bar implementation (1746561). No colours yet. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1730 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-cast.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/spl-cast.h') diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index 488ef1b669..7dad287b23 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -16,6 +16,8 @@ #include "enum.h" +class formatted_string; + char list_spells( void ); int spell_fail( spell_type spell ); int calc_spell_power(spell_type spell, bool apply_intel, @@ -54,7 +56,11 @@ bool miscast_effect( unsigned int sp_type, int mag_pow, int mag_fail, int force_effect, const char *cause = NULL ); const char* failure_rate_to_string( int fail ); -const char* spell_power_string( spell_type spell ); + +int spell_power_colour(spell_type spell); +int spell_power_bars(spell_type spell); +formatted_string spell_power_string(spell_type spell); + const char* spell_hunger_string( spell_type spell ); #endif -- cgit v1.2.3-54-g00ecf