diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-03 13:23:10 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-03 13:23:10 +0000 |
commit | 06000612f935e9e431ef2cab3dc00cf9022fe69b (patch) | |
tree | e750963bb9c4d30161a46c41511c017e258134ab /crawl-ref/source/spl-cast.h | |
parent | 8fe08a6179dd4799179d7e4b9765a2887786e91b (diff) | |
download | crawl-ref-06000612f935e9e431ef2cab3dc00cf9022fe69b.tar.gz crawl-ref-06000612f935e9e431ef2cab3dc00cf9022fe69b.zip |
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
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r-- | crawl-ref/source/spl-cast.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 |