| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Make it static; and to match the other data headers (mon-data.h etc.),
move the whole definition into mon-spll.h and remove the include guards
there.
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Committer's note: squashed two commits. The second commit's message
was:
changed clua moninfo:spells() to return book sets/string tables like
describe.cc monster_info has_spells based on mostly on spellbooks.
describe and clua moninfo:spells's shared code moves to
mon-book.h/mon-util.cc
-neil]
|
|
All the ones that reference mon_spellbook_type, so that the users
of mon-util.h don't all require a rebuild whenever mon-spll.h is
touched and mon-mst.h regenerated.
For the same reason, change the 'sec' field mon monster_entry back to an
int, and make get_spellbooks a function rather than a method of
monster_info.
I did not split the implementations off into a new .cc file, but that
wouldn't be unreasonable.
|