Add monster spell header file mcastu.h
Move the monster spell definitions there, and use hackery (similar to objects.h) to generate enum and data from the header file. I have not tested Windows, VMS, or Amiga builds.
This commit is contained in:
@@ -794,6 +794,7 @@ HACK_H = $(CONFIG_H) ../include/align.h ../include/artilist.h \
|
||||
../include/decl.h ../include/defsym.h ../include/display.h \
|
||||
../include/dungeon.h ../include/engrave.h ../include/flag.h \
|
||||
../include/hack.h ../include/lint.h ../include/mextra.h \
|
||||
../include/mcastu.h \
|
||||
../include/mkroom.h ../include/monattk.h ../include/mondata.h \
|
||||
../include/monflag.h ../include/monst.h ../include/monsters.h \
|
||||
../include/nhlua.h ../include/obj.h ../include/objclass.h \
|
||||
|
||||
@@ -694,6 +694,7 @@ HACKINCL = \
|
||||
$(INCL)flag.h $(INCL)fnamesiz.h $(INCL)func_tab.h \
|
||||
$(INCL)global.h $(INCL)warnings.h $(INCL)hack.h \
|
||||
$(INCL)lint.h $(INCL)mextra.h $(INCL)micro.h \
|
||||
$(INCL)mcastu.h \
|
||||
$(INCL)mfndpos.h $(INCL)mkroom.h $(INCL)monattk.h \
|
||||
$(INCL)mondata.h $(INCL)monflag.h $(INCL)monst.h \
|
||||
$(INCL)monsters.h $(INCL)nhmd4.h $(INCL)obj.h \
|
||||
@@ -1131,6 +1132,7 @@ HACK_H = $(CONFIG_H) $(INCL)align.h $(INCL)artilist.h \
|
||||
$(INCL)decl.h $(INCL)defsym.h $(INCL)display.h \
|
||||
$(INCL)dungeon.h $(INCL)engrave.h $(INCL)flag.h \
|
||||
$(INCL)hack.h $(INCL)lint.h $(INCL)mextra.h \
|
||||
$(INCL)mcastu.h \
|
||||
$(INCL)mkroom.h $(INCL)monattk.h $(INCL)mondata.h \
|
||||
$(INCL)monflag.h $(INCL)monst.h $(INCL)monsters.h \
|
||||
$(INCL)nhlua.h $(INCL)obj.h $(INCL)objclass.h \
|
||||
@@ -2664,7 +2666,7 @@ CTAGDEP = $(INCL)align.h $(INCL)artifact.h $(INCL)artilist.h \
|
||||
$(INCL)attrib.h $(INCL)context.h $(INCL)coord.h \
|
||||
$(INCL)decl.h $(INCL)dungeon.h $(INCL)engrave.h \
|
||||
$(INCL)flag.h $(INCL)func_tab.h $(INCL)global.h \
|
||||
$(INCL)hack.h $(INCL)mextra.h \
|
||||
$(INCL)hack.h $(INCL)mextra.h $(INCL)mcastu.h \
|
||||
$(INCL)mkroom.h $(INCL)monst.h \
|
||||
$(INCL)obj.h $(INCL)objclass.h $(INCL)prop.h \
|
||||
$(INCL)quest.h $(INCL)rect.h $(INCL)region.h \
|
||||
@@ -2694,6 +2696,7 @@ $(UTIL)sf.tags: $(CTAGSCMD) $(CTAGDEP)
|
||||
$(CTAGSCMD) $(CTAGSOPT) -a -f $@ $(INCL)global.h
|
||||
$(CTAGSCMD) $(CTAGSOPT) -a -f $@ $(INCL)hack.h
|
||||
$(CTAGSCMD) $(CTAGSOPT) -a -f $@ $(INCL)mextra.h
|
||||
$(CTAGSCMD) $(CTAGSOPT) -a -f $@ $(INCL)mcastu.h
|
||||
$(CTAGSCMD) $(CTAGSOPT) -a -f $@ $(INCL)mkroom.h
|
||||
$(CTAGSCMD) $(CTAGSOPT) -a -f $@ $(INCL)monst.h
|
||||
$(CTAGSCMD) $(CTAGSOPT) -a -f $@ $(INCL)defsym.h
|
||||
@@ -3269,7 +3272,7 @@ $(OTTY)light.o: light.c $(HACK_H)
|
||||
$(OTTY)lock.o: lock.c $(HACK_H)
|
||||
$(OTTY)mail.o: mail.c $(HACK_H) $(INCL)mail.h
|
||||
$(OTTY)makemon.o: makemon.c $(HACK_H)
|
||||
$(OTTY)mcastu.o: mcastu.c $(HACK_H)
|
||||
$(OTTY)mcastu.o: mcastu.c $(HACK_H) $(INCL)mcastu.h
|
||||
$(OTTY)mdlib.o: mdlib.c $(CONFIG_H) $(INCL)align.h \
|
||||
$(INCL)artilist.h $(INCL)attrib.h \
|
||||
$(INCL)context.h $(INCL)defsym.h $(INCL)dlb.h \
|
||||
|
||||
@@ -259,6 +259,7 @@
|
||||
<ClInclude Include="$(IncDir)isaac64.h" />
|
||||
<ClInclude Include="$(IncDir)lint.h" />
|
||||
<ClInclude Include="$(IncDir)load_img.h" />
|
||||
<ClInclude Include="$(IncDir)mcastu.h" />
|
||||
<ClInclude Include="$(IncDir)mextra.h" />
|
||||
<ClInclude Include="$(IncDir)mfndpos.h" />
|
||||
<ClInclude Include="$(IncDir)mkroom.h" />
|
||||
|
||||
@@ -327,6 +327,7 @@
|
||||
<ClInclude Include="$(IncDir)lint.h" />
|
||||
<ClInclude Include="$(IncDir)load_img.h" />
|
||||
<ClInclude Include="$(IncDir)mail.h" />
|
||||
<ClInclude Include="$(IncDir)mcastu.h" />
|
||||
<ClInclude Include="$(IncDir)mextra.h" />
|
||||
<ClInclude Include="$(IncDir)mfndpos.h" />
|
||||
<ClInclude Include="$(IncDir)micro.h" />
|
||||
|
||||
Reference in New Issue
Block a user