summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/MSVC
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-01-17 01:09:51 -0500
committerNeil Moore <neil@s-z.org>2014-01-17 01:13:50 -0500
commitdde664e211b3661fc7ece9c36dba454eaa50c38b (patch)
tree7581a7b959b4e4dd1d2a74418e750ee3e91ab554 /crawl-ref/source/MSVC
parentdb6e4539e64514ec7665a14fb8726f019b270037 (diff)
downloadcrawl-ref-dde664e211b3661fc7ece9c36dba454eaa50c38b.tar.gz
crawl-ref-dde664e211b3661fc7ece9c36dba454eaa50c38b.zip
Split some prototypes etc off to mon-book.h
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.
Diffstat (limited to 'crawl-ref/source/MSVC')
-rw-r--r--crawl-ref/source/MSVC/crawl.vcproj4
-rw-r--r--crawl-ref/source/MSVC/crawl.vcxproj1
2 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/MSVC/crawl.vcproj b/crawl-ref/source/MSVC/crawl.vcproj
index cee1761e6c..88526f435f 100644
--- a/crawl-ref/source/MSVC/crawl.vcproj
+++ b/crawl-ref/source/MSVC/crawl.vcproj
@@ -1879,6 +1879,10 @@
>
</File>
<File
+ RelativePath="..\mon-book.h"
+ >
+ </File>
+ <File
RelativePath="..\mon-cast.cc"
>
</File>
diff --git a/crawl-ref/source/MSVC/crawl.vcxproj b/crawl-ref/source/MSVC/crawl.vcxproj
index 65cada599a..cba00e02ff 100644
--- a/crawl-ref/source/MSVC/crawl.vcxproj
+++ b/crawl-ref/source/MSVC/crawl.vcxproj
@@ -758,6 +758,7 @@ perl.exe "util/gen-cflg.pl" compflag.h "&lt;UNKNOWN&gt;" "&lt;UNKNOWN&gt;"
<ClInclude Include="..\mon-abil.h" />
<ClInclude Include="..\mon-act.h" />
<ClInclude Include="..\mon-behv.h" />
+ <ClInclude Include="..\mon-book.h" />
<ClInclude Include="..\mon-cast.h" />
<ClInclude Include="..\mon-clone.h" />
<ClInclude Include="..\mon-data.h" />