diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-24 05:04:58 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-24 05:04:58 +0000 |
commit | ee8bfe95919cb737826f04629698df9258200020 (patch) | |
tree | b8b4f48ee90c6c6c3efade2c8793fdd0f249f230 /crawl-ref/source/spl-util.h | |
parent | bcbd0cca53601270c2b128eb9c89a9185cb40336 (diff) | |
download | crawl-ref-ee8bfe95919cb737826f04629698df9258200020.tar.gz crawl-ref-ee8bfe95919cb737826f04629698df9258200020.zip |
?/ now asks if you want to describe a monster, spell, or feature, and
filters out matches if they aren't of the desired type.
If there's more than one match, after selecting a match to look at,
exiting from the description will return you to the menu, rather than
to the dungeon.
If you've asked for monsters, you can toggle sorting of the menu
between alphabetical and by aproximated monster toughness (this probably
still needs some work, since it seems to say that ordinary worms are
tougher than brain worms).
Only the monster symbol is coloured when showing a menu of monsters
to describe.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2185 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r-- | crawl-ref/source/spl-util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index 4570ea017a..4e86d9ff3e 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -64,6 +64,9 @@ struct spell_desc //* * called from: acr void init_spell_descs(void); +spell_type spell_by_name(const char* name); +spell_type spell_by_name(std::string name); + int get_spell_slot_by_letter( char letter ); spell_type get_spell_by_letter( char letter ); |