Move item actions into separate src file
Haven't tested compilation on Windows and VMS ...
This commit is contained in:
@@ -296,7 +296,7 @@ VOBJ22 = $(O)topl.o $(O)topten.o $(O)trap.o $(O)u_init.o $(O)uhitm.o
|
||||
VOBJ23 = $(O)utf8map.o $(O)vault.o $(O)track.o $(O)vision.o $(O)weapon.o
|
||||
VOBJ24 = $(O)were.o $(O)wield.o $(O)windows.o $(O)wintty.o $(O)wizard.o
|
||||
VOBJ25 = $(O)wizcmds.o $(O)worm.o $(O)worn.o $(O)write.o $(O)zap.o
|
||||
VOBJ26 = $(O)light.o $(O)dlb.o $(REGEX)
|
||||
VOBJ26 = $(O)light.o $(O)dlb.o $(O)iactions.o $(REGEX)
|
||||
|
||||
SOBJ = $(O)msdos.o $(O)pcsys.o $(O)tty.o $(O)unix.o \
|
||||
$(O)video.o $(O)vidtxt.o $(O)pckeys.o
|
||||
@@ -1399,6 +1399,7 @@ $(TARGETPFX)files.o: files.c $(HACK_H) ../include/dlb.h ../include/wintty.h \
|
||||
$(TARGETPFX)fountain.o: fountain.c $(HACK_H)
|
||||
$(TARGETPFX)hack.o: hack.c $(HACK_H)
|
||||
$(TARGETPFX)hacklib.o: hacklib.c $(HACK_H)
|
||||
$(TARGETPFX)iactions.o: iactions.c $(HACK_H)
|
||||
$(TARGETPFX)insight.o: insight.c $(HACK_H)
|
||||
$(TARGETPFX)invent.o: invent.c $(HACK_H)
|
||||
$(TARGETPFX)isaac64.o: isaac64.c $(CONFIG_H) ../include/isaac64.h
|
||||
|
||||
@@ -519,7 +519,7 @@ HACKCSRC = allmain.c alloc.c apply.c artifact.c attrib.c ball.c bones.c \
|
||||
dlb.c do.c do_name.c do_wear.c dog.c dogmove.c dokick.c dothrow.c \
|
||||
drawing.c dungeon.c eat.c end.c engrave.c exper.c explode.c \
|
||||
extralev.c files.c fountain.c hack.c hacklib.c \
|
||||
getpos.c glyphs.c insight.c invent.c isaac64.c light.c \
|
||||
getpos.c glyphs.c iactions.c insight.c invent.c isaac64.c light.c \
|
||||
lock.c mail.c makemon.c mcastu.c mdlib.c mhitm.c \
|
||||
mhitu.c minion.c mklev.c mkmap.c mkmaze.c mkobj.c mkroom.c mon.c \
|
||||
mondata.c monmove.c monst.c mplayer.c mthrowu.c muse.c music.c \
|
||||
@@ -601,6 +601,7 @@ HOBJ = $(TARGETPFX)allmain.o $(TARGETPFX)alloc.o \
|
||||
$(TARGETPFX)engrave.o $(TARGETPFX)exper.o $(TARGETPFX)explode.o \
|
||||
$(TARGETPFX)extralev.o $(TARGETPFX)files.o $(TARGETPFX)fountain.o \
|
||||
$(TARGETPFX)getpos.o $(TARGETPFX)glyphs.o $(TARGETPFX)hack.o \
|
||||
$(TARGETPFX)iactions.o \
|
||||
$(TARGETPFX)insight.o $(TARGETPFX)invent.o $(TARGETPFX)isaac64.o \
|
||||
$(TARGETPFX)light.o $(TARGETPFX)lock.o $(TARGETPFX)mail.o \
|
||||
$(TARGETPFX)makemon.o $(TARGETPFX)mcastu.o $(TARGETPFX)mdlib.o \
|
||||
@@ -1176,6 +1177,7 @@ $(TARGETPFX)getpos.o: getpos.c $(HACK_H)
|
||||
$(TARGETPFX)glyphs.o: glyphs.c $(HACK_H)
|
||||
$(TARGETPFX)hack.o: hack.c $(HACK_H)
|
||||
$(TARGETPFX)hacklib.o: hacklib.c $(HACK_H)
|
||||
$(TARGETPFX)iactions.o: iactions.c $(HACK_H)
|
||||
$(TARGETPFX)insight.o: insight.c $(HACK_H)
|
||||
$(TARGETPFX)invent.o: invent.c $(HACK_H)
|
||||
$(TARGETPFX)isaac64.o: isaac64.c $(CONFIG_H) ../include/isaac64.h
|
||||
|
||||
@@ -151,7 +151,7 @@ HACKCSRC = allmain.c alloc.c apply.c artifact.c attrib.c ball.c bones.c \
|
||||
dig.c display.c dlb.c do.c do_name.c do_wear.c dog.c dogmove.c dokick.c \
|
||||
dothrow.c drawing.c dungeon.c eat.c end.c engrave.c exper.c \
|
||||
explode.c extralev.c files.c fountain.c getpos.c glyphs.c hack.c \
|
||||
hacklib.c insight.c invent.c light.c lock.c \
|
||||
hacklib.c iactions.c insight.c invent.c light.c lock.c \
|
||||
mail.c makemon.c mcastu.c mhitm.c mhitu.c minion.c \
|
||||
mklev.c mkmap.c mkmaze.c mkobj.c mkroom.c mon.c mondata.c \
|
||||
monmove.c monst.c mplayer.c mthrowu.c muse.c music.c o_init.c \
|
||||
@@ -200,7 +200,7 @@ HOBJ1 = allmain.obj,alloc.obj,apply.obj,artifact.obj,attrib.obj, \
|
||||
HOBJ2 = dog.obj,dogmove.obj,dokick.obj,dothrow.obj,drawing.obj, \
|
||||
dungeon.obj,eat.obj,end.obj,engrave.obj,exper.obj,explode.obj, \
|
||||
extralev.obj,files.obj,fountain.obj,getpos.obj,glyphs.obj,hack.obj, \
|
||||
hacklib.obj,insight.obj,invent.obj
|
||||
hacklib.obj,iactions.obj,insight.obj,invent.obj
|
||||
HOBJ3 = light.obj,lock.obj,mail.obj,makemon.obj,mcastu.obj, \
|
||||
mhitm.obj,mhitu.obj,minion.obj,mklev.obj,mkmap.obj,mkmaze.obj, \
|
||||
mkobj.obj,mkroom.obj,mon.obj,mondata.obj,monmove.obj
|
||||
@@ -529,6 +529,7 @@ files.obj : files.c $(HACK_H) $(INC)dlb.h $(INC)wintty.h #zlib.h
|
||||
fountain.obj : fountain.c $(HACK_H)
|
||||
hack.obj : hack.c $(HACK_H)
|
||||
hacklib.obj : hacklib.c $(HACK_H)
|
||||
iactions.obj : iactions.c $(HACK_H)
|
||||
insight.obj : insight.c $(HACK_H)
|
||||
invent.obj : invent.c $(HACK_H)
|
||||
light.obj : light.c $(HACK_H)
|
||||
|
||||
@@ -130,7 +130,7 @@ HACKFILES := allmain alloc apply artifact attrib ball bones botl \
|
||||
sp_lev spell stairs steal steed strutil symbols sys teleport \
|
||||
timeout topten track trap u_init utf8map \
|
||||
uhitm vault version vision weapon were wield \
|
||||
windows wizard wizcmds worm worn write zap
|
||||
windows wizard wizcmds worm worn write zap iactions
|
||||
|
||||
# the date file
|
||||
DATEFILES = date
|
||||
@@ -735,6 +735,7 @@ $(TARGETPFX)getpos.obj: getpos.c $(HACK_H)
|
||||
$(TARGETPFX)glyphs.obj: glyphs.c $(HACK_H)
|
||||
$(TARGETPFX)hack.obj: hack.c $(HACK_H)
|
||||
$(TARGETPFX)hacklib.obj: hacklib.c $(HACK_H)
|
||||
$(TARGETPFX)iactions.obj: iactions.c $(HACK_H)
|
||||
$(TARGETPFX)insight.obj: insight.c $(HACK_H)
|
||||
$(TARGETPFX)invent.obj: invent.c $(HACK_H)
|
||||
$(TARGETPFX)isaac64.obj: isaac64.c $(CONFIG_H) $(INCL)isaac64.h
|
||||
|
||||
@@ -425,7 +425,7 @@ $ c_list = "allmain,apply,artifact,attrib,ball,bones,botl,calendar,cmd" -
|
||||
+ ",do_wear,dog,dogmove,dokick,dungeon,eat,end,engrave,exper,explode" -
|
||||
+ ",extralev,files,fountain,getpos,glyphs"
|
||||
$ gosub compile_list
|
||||
$ c_list = "hack,hacklib,insight,invent,light,lock,mail,makemon" -
|
||||
$ c_list = "hack,hacklib,iactions,insight,invent,light,lock,mail,makemon" -
|
||||
+ ",mcastu,mdlib,mhitm,mhitu,minion,mklev,mkmap,mkmaze" -
|
||||
+ ",mkobj,mkroom,mon,mondata,monmove,mplayer,mthrowu,muse" -
|
||||
+ ",music"
|
||||
|
||||
@@ -1232,7 +1232,7 @@ COREOBJS = $(addsuffix .o, allmain alloc apply artifact attrib ball bones botl \
|
||||
dbridge decl detect dig display dlb do do_name do_wear \
|
||||
dog dogmove dokick dothrow drawing dungeon \
|
||||
eat end engrave exper explode extralev files fountain \
|
||||
getpos glyphs hack insight invent isaac64 light lock \
|
||||
getpos glyphs hack iactions insight invent isaac64 light lock \
|
||||
mail makemon mcastu mdlib mhitm mhitu minion mklev mkmap mkmaze mkobj mkroom \
|
||||
mon mondata monmove monst mplayer mthrowu muse music \
|
||||
nhlobj nhlsel nhlua windsound o_init objects objnam options \
|
||||
|
||||
@@ -659,6 +659,7 @@ HACKCSRC = \
|
||||
$(SRC)drawing.c $(SRC)dungeon.c $(SRC)eat.c $(SRC)end.c \
|
||||
$(SRC)engrave.c $(SRC)exper.c $(SRC)explode.c $(SRC)files.c \
|
||||
$(SRC)fountain.c $(SRC)getpos.c $(SRC)glyphs.c $(SRC)hack.c \
|
||||
$(SRC)iactions.c \
|
||||
$(SRC)insight.c $(SRC)invent.c $(SRC)isaac64.c $(SRC)light.c \
|
||||
$(SRC)lock.c $(SRC)mail.c $(SRC)makemon.c $(SRC)mcastu.c \
|
||||
$(SRC)mdlib.c $(SRC)mhitm.c $(SRC)mhitu.c $(SRC)minion.c \
|
||||
@@ -862,6 +863,7 @@ COREOBJTTY = \
|
||||
$(OTTY)drawing.o $(OTTY)dungeon.o $(OTTY)eat.o $(OTTY)end.o \
|
||||
$(OTTY)engrave.o $(OTTY)exper.o $(OTTY)explode.o $(OTTY)extralev.o \
|
||||
$(OTTY)files.o $(OTTY)fountain.o $(OTTY)getpos.o $(OTTY)glyphs.o \
|
||||
$(OTTY)iactions.o \
|
||||
$(OTTY)hack.o $(OTTY)insight.o $(OTTY)invent.o $(OTTY)isaac64.o \
|
||||
$(OTTY)light.o $(OTTY)lock.o $(OTTY)mail.o $(OTTY)makemon.o \
|
||||
$(OTTY)mcastu.o $(OTTY)mhitm.o $(OTTY)mhitu.o $(OTTY)minion.o \
|
||||
@@ -925,6 +927,7 @@ COREOBJGUI = \
|
||||
$(OGUI)drawing.o $(OGUI)dungeon.o $(OGUI)eat.o $(OGUI)end.o \
|
||||
$(OGUI)engrave.o $(OGUI)exper.o $(OGUI)explode.o $(OGUI)extralev.o \
|
||||
$(OGUI)files.o $(OGUI)fountain.o $(OGUI)getpos.o $(OGUI)glyphs.o \
|
||||
$(OGUI)iactions.o \
|
||||
$(OGUI)hack.o $(OGUI)insight.o $(OGUI)invent.o $(OGUI)isaac64.o \
|
||||
$(OGUI)light.o $(OGUI)lock.o $(OGUI)mail.o $(OGUI)makemon.o \
|
||||
$(OGUI)mcastu.o $(OGUI)mhitm.o $(OGUI)mhitu.o $(OGUI)minion.o \
|
||||
@@ -3257,6 +3260,7 @@ $(OTTY)getpos.o: getpos.c $(HACK_H)
|
||||
$(OTTY)glyphs.o: glyphs.c $(HACK_H)
|
||||
$(OTTY)hack.o: hack.c $(HACK_H)
|
||||
$(OTTY)hacklib.o: hacklib.c $(HACK_H)
|
||||
$(OTTY)iactions.o: iactions.c $(HACK_H)
|
||||
$(OTTY)insight.o: insight.c $(HACK_H)
|
||||
$(OTTY)invent.o: invent.c $(HACK_H)
|
||||
$(OTTY)isaac64.o: isaac64.c $(CONFIG_H) $(INCL)isaac64.h
|
||||
@@ -3636,6 +3640,7 @@ $(OGUI)getpos.o: getpos.c $(HACK_H)
|
||||
$(OGUI)glyphs.o: glyphs.c $(HACK_H)
|
||||
$(OGUI)hack.o: hack.c $(HACK_H)
|
||||
$(OGUI)hacklib.o: hacklib.c $(HACK_H)
|
||||
$(OGUI)iactions.o: iactions.c $(HACK_H)
|
||||
$(OGUI)insight.o: insight.c $(HACK_H)
|
||||
$(OGUI)invent.o: invent.c $(HACK_H)
|
||||
$(OGUI)isaac64.o: isaac64.c $(CONFIG_H) $(INCL)isaac64.h
|
||||
|
||||
@@ -125,6 +125,7 @@
|
||||
<ClCompile Include="$(SrcDir)glyphs.c" />
|
||||
<ClCompile Include="$(SrcDir)hack.c" />
|
||||
<ClCompile Include="$(SrcDir)insight.c" />
|
||||
<ClCompile Include="$(SrcDir)iactions.c" />
|
||||
<ClCompile Include="$(SrcDir)invent.c" />
|
||||
<ClCompile Include="$(SrcDir)isaac64.c" />
|
||||
<ClCompile Include="$(SrcDir)light.c" />
|
||||
|
||||
@@ -146,6 +146,7 @@
|
||||
<ClCompile Include="$(SrcDir)getpos.c" />
|
||||
<ClCompile Include="$(SrcDir)glyphs.c" />
|
||||
<ClCompile Include="$(SrcDir)hack.c" />
|
||||
<ClCompile Include="$(SrcDir)iactions.c" />
|
||||
<ClCompile Include="$(SrcDir)invent.c" />
|
||||
<ClCompile Include="$(SrcDir)insight.c" />
|
||||
<ClCompile Include="$(SrcDir)isaac64.c" />
|
||||
|
||||
Reference in New Issue
Block a user