From a59025b069d3d08cfa7c5ccd21d3b0ae116da71c Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 18 Feb 2008 15:51:08 +0000 Subject: First batch of Paul's patches: 1896018: cycle ammo with '(' 1895278: no (v)iewing of unreadable books 1895075: cancel Ely's abilities without cost Fix 1894920: fix overly long dungeon overview Also fix 1884145: weapon swap ignoring {!w} git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3441 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-book.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/spl-book.h') diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h index d67023eaeb..8558ebec32 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -51,6 +51,8 @@ int read_book( item_def &item, read_book_action_type action ); bool player_can_memorise(const item_def &book); bool learn_spell(int book = -1); +bool player_can_read_spellbook( const item_def &book ); + spell_type which_spell_in_book(int sbook_type, int spl); // returns amount practised (or -1 for abort) -- cgit v1.2.3-54-g00ecf