summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-09 12:38:44 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-09 12:38:44 +0000
commitbc63643a6c8bdc583694356f559f09b356d2c1c6 (patch)
treeb7b0f15bd0fcfaf3ef103c6250c099781a2f8503 /crawl-ref/source/spl-book.h
parentbb6930c4b733afe63784e44792b47d08a7ece2d8 (diff)
downloadcrawl-ref-bc63643a6c8bdc583694356f559f09b356d2c1c6.tar.gz
crawl-ref-bc63643a6c8bdc583694356f559f09b356d2c1c6.zip
Minor refactoring.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1817 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r--crawl-ref/source/spl-book.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h
index b3b213c461..edcb8a89f9 100644
--- a/crawl-ref/source/spl-book.h
+++ b/crawl-ref/source/spl-book.h
@@ -28,11 +28,12 @@ int book_rarity(unsigned char which_book);
bool is_valid_spell_in_book( int splbook, int spell );
+void mark_had_book(int booktype);
// updated 24may2000 {dlb}
/* ***********************************************************************
* called from: it_use3 - item_use - spl-book
* *********************************************************************** */
-unsigned char read_book( item_def &item, read_book_action_type action );
+int read_book( item_def &item, read_book_action_type action );
// updated 24may2000 {dlb}