diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-03 21:55:23 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-03 21:55:23 +0000 |
commit | 00bb42dc5e7570932126361340420b339c0e265c (patch) | |
tree | c24b1ce518515a954f05185e80117301d42b9fb3 /crawl-ref/source/spl-cast.h | |
parent | 2f988e26917a2fd048d66f16117f4f7627a80dd3 (diff) | |
download | crawl-ref-00bb42dc5e7570932126361340420b339c0e265c.tar.gz crawl-ref-00bb42dc5e7570932126361340420b339c0e265c.zip |
Coloured power display. This is, for now, a rather extreme hack.
Note that some spells (e.g. Apportation) have no actual power limits,
so they will always be 'red'. Suggestions welcome.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1736 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r-- | crawl-ref/source/spl-cast.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index 7dad287b23..f69a70c72a 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -16,8 +16,6 @@ #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, @@ -59,7 +57,7 @@ const char* failure_rate_to_string( int fail ); int spell_power_colour(spell_type spell); int spell_power_bars(spell_type spell); -formatted_string spell_power_string(spell_type spell); +std::string spell_power_string(spell_type spell); const char* spell_hunger_string( spell_type spell ); |