summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-11 20:49:29 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-11 20:49:29 +0000
commitec5b80d6bf96936a3f803e89c7128effa703ebe7 (patch)
treef92d236e8e9bd3a74b87c23453a91be0a8ccbb70 /crawl-ref/source/spl-cast.h
parent4c540e1c4e99150305b9c5297928ed1794cec13c (diff)
downloadcrawl-ref-ec5b80d6bf96936a3f803e89c7128effa703ebe7.tar.gz
crawl-ref-ec5b80d6bf96936a3f803e89c7128effa703ebe7.zip
* Add description toggle (only '?' this time) into spellcasting menu and
make I use a loop as well, so that z?? and I are now functionally identical. (Which of course brings up the question of whether you really need an additional key to do this. :p) * Simplify a bit. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9413 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r--crawl-ref/source/spl-cast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h
index ce18606e1b..681c3aa958 100644
--- a/crawl-ref/source/spl-cast.h
+++ b/crawl-ref/source/spl-cast.h
@@ -46,10 +46,10 @@ enum spret_type
SPRET_SUCCESS
};
-int list_spells(bool toggle_with_I = true);
+int list_spells(bool toggle_with_I = true, bool viewing = false);
int spell_fail( spell_type spell );
int calc_spell_power(spell_type spell, bool apply_intel,
- bool fail_rate_chk = false );
+ bool fail_rate_chk = false);
int spell_enhancement( unsigned int typeflags );
// last updaetd 12may2000 {dlb}