diff options
author | DMBrownrigg <netsdanita@hotmail.com> | 2010-02-08 02:00:55 +1100 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2010-02-11 21:37:00 -0500 |
commit | 9bfe7f104a39a02eabe3b34ef2c7ad2b8966c77a (patch) | |
tree | 65e024f24948a8d102a4dec8c8440989ca00b36b /crawl-ref/source/spl-util.h | |
parent | 553a3c5d5d6cd940e1475a128f40b7b109e9f107 (diff) | |
download | crawl-ref-9bfe7f104a39a02eabe3b34ef2c7ad2b8966c77a.tar.gz crawl-ref-9bfe7f104a39a02eabe3b34ef2c7ad2b8966c77a.zip |
Continuing with Due's cleaned up version of splColor-patch
Submitted patch was vetted and cleaned by due, but
ultimately rejected due to flaws in highlighting.
Continuing with Due's cleaned version of the prevous patch.
Signed-off-by: Charles Otto <ottochar@gmail.com>
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r-- | crawl-ref/source/spl-util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index 010f4476f5..9068facff8 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -123,4 +123,9 @@ int spell_type2skill (unsigned int which_spelltype); spell_type zap_type_to_spell(zap_type zap); +bool spell_is_useless(spell_type spell); +bool spell_is_useful(spell_type spell); + +int spell_highlight_by_utility(spell_type spell, int default_color = LIGHTGRAY); + #endif |