diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-03-22 18:38:09 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-03-22 18:38:09 +0100 |
commit | 97c42872e9da98a7aa4a1d5fe70bfc1e8adfa68c (patch) | |
tree | 74ca3b6b0cff3443650ca3e82fb010390a00e147 /src/spells4.hpp | |
parent | 92344ee3f306ecdfd1da4365ffc5cab6eaa29afd (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.hpp | 5 |
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); |