diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-10 15:58:46 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-10 15:58:46 +0000 |
commit | 1d23ad9eae6203fcabc6b1f9a933174bc907f2a9 (patch) | |
tree | 8182fbaccc51eecf655ed3feda605e4fff97ad67 /crawl-ref/source/spl-cast.h | |
parent | 383d392c17f076384fc37e631b6506739ca634fe (diff) | |
download | crawl-ref-1d23ad9eae6203fcabc6b1f9a933174bc907f2a9.tar.gz crawl-ref-1d23ad9eae6203fcabc6b1f9a933174bc907f2a9.zip |
Add an inventory-like region for the Tiles version to make spells
clickable. '_' toggles between inventory and spell display.
Actual tiles are still missing, but everything works as it should.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10648 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r-- | crawl-ref/source/spl-cast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index 63d2276251..bece3831e2 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -64,7 +64,7 @@ void exercise_spell( spell_type spell_ex, bool spc, bool divide ); /* *********************************************************************** * called from: acr * *********************************************************************** */ -bool cast_a_spell( bool check_range ); +bool cast_a_spell( bool check_range, spell_type spell = SPELL_NO_SPELL ); bool maybe_identify_staff( item_def &item, spell_type spell = SPELL_NO_SPELL ); |