summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r--crawl-ref/source/spl-book.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h
index 80631f1feb..a577b97f80 100644
--- a/crawl-ref/source/spl-book.h
+++ b/crawl-ref/source/spl-book.h
@@ -18,13 +18,6 @@
#include "menu.h"
#include "FixVec.h"
-
-// used in dungeon.cc, it_use3.cc, spl-book.cc, spl-book.h - {dlb}
-#define SPELLBOOK_SIZE 9
-// used in spl-book.cc, spl-book.h - {dlb}
-#define NUMBER_SPELLBOOKS 60
-
-
// updated 24may2000 {dlb}
/* ***********************************************************************
* called from: dungeon - effects - shopping
@@ -32,10 +25,6 @@
char book_rarity(unsigned char which_book);
-// updated 24may2000 {dlb}
-/* ***********************************************************************
- * called from: it_use3 - item_use - spl-book
- * *********************************************************************** */
bool is_valid_spell_in_book( unsigned int splbook, int spell );
@@ -52,13 +41,9 @@ unsigned char read_book( item_def &item, int action );
* *********************************************************************** */
bool learn_spell(void);
-
-// updated 24may2000 {dlb}
-/* ***********************************************************************
- * called from: it_use3 - item_use - spl-book
- * *********************************************************************** */
spell_type which_spell_in_book(int sbook_type, int spl);
+// returns amount practised (or -1 for abort)
int staff_spell( int zap_device_2 );
bool undead_cannot_memorise(unsigned char spell, unsigned char being);