summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-book.h
Commit message (Collapse)AuthorAgeFilesLines
* Adjust mspell_list definition.Neil Moore2014-08-061-2/+0
| | | | | | 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.
* Add getting monster spells to clua m:spells() (#8737)Aj Adamson2014-07-011-0/+3
| | | | | | | | | | | | [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]
* Split some prototypes etc off to mon-book.hNeil Moore2014-01-171-0/+23
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.