diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-11 21:35:05 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-11 21:35:05 +0000 |
commit | 2d4d6508f4d44036aa16052d7764432fe2fc06f9 (patch) | |
tree | 747bf8d870f88a164d5bc4bc96b070378437f96a /crawl-ref/source/spl-book.h | |
parent | 0f0706a062f83b945f01d5b5ab5a9eec3dbe6c1d (diff) | |
download | crawl-ref-2d4d6508f4d44036aa16052d7764432fe2fc06f9.tar.gz crawl-ref-2d4d6508f4d44036aa16052d7764432fe2fc06f9.zip |
Add a button to memorise spells to the new spell display. All this does
at the moment is call learn_spell(), but I'm planning to reuse the spell
display for this purpose.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10655 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r-- | crawl-ref/source/spl-book.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h index 50803c3bbe..b1ba53796b 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -64,6 +64,7 @@ int staff_spell( int zap_device_2 ); bool is_memorised(spell_type spell); bool you_cannot_memorise(spell_type spell); +bool has_spells_to_memorise(); int spellbook_contents( item_def &book, read_book_action_type action, formatted_string *fs = NULL ); |