summaryrefslogtreecommitdiff
path: root/src/spells4.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-03-22 18:38:09 +0100
committerBardur Arantsson <bardur@scientician.net>2015-03-22 18:38:09 +0100
commit97c42872e9da98a7aa4a1d5fe70bfc1e8adfa68c (patch)
tree74ca3b6b0cff3443650ca3e82fb010390a00e147 /src/spells4.hpp
parent92344ee3f306ecdfd1da4365ffc5cab6eaa29afd (diff)
Split school_book_type out of types.h
- Rename to school_book - Remove pointless spell_idx_list indirection
Diffstat (limited to 'src/spells4.hpp')
-rw-r--r--src/spells4.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/spells4.hpp b/src/spells4.hpp
index b358b571..7a8c8985 100644
--- a/src/spells4.hpp
+++ b/src/spells4.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "angband.h"
+#include "school_book.hpp"
extern s32b SCHOOL_AIR;
extern s32b SCHOOL_AULE;
@@ -30,8 +31,8 @@ extern s32b SCHOOL_YAVANNA;
void print_spell_desc(int s, int y);
void init_school_books();
-school_book_type *school_books_at(int sval);
-void school_book_add_spell(school_book_type *school_book, s32b spell_idx);
+school_book *school_books_at(int sval);
+void school_book_add_spell(school_book *school_book, s32b spell_idx);
void random_book_setup(s16b sval, s32b spell_idx);
int print_spell(cptr label, byte color, int y, s32b s);
int print_book(s16b sval, s32b pval, object_type *obj);