relocate some more outdated code
This commit is contained in:
@@ -468,7 +468,8 @@ convert obj->oextra->omid from pointer to scalar
|
||||
get rid of unused obj->oextra->olong
|
||||
relocated unmaintained code to outdated folder, specifically sys/amiga,
|
||||
sys/atari, sys/be, sys/mac, sys/os2, sys/wince, win/Qt3, win/gem,
|
||||
win/gnome, include/amiconf.h, include/os2conf.h, include/tosconf.h
|
||||
remove SYSFLAGS conditional code
|
||||
remove MFLOPPY conditional code
|
||||
|
||||
win/gnome, include/amiconf.h, include/beconf.h, include/def_os2.h,
|
||||
include/os2conf.h, include/macconf.h, include/tosconf.h,
|
||||
include/wceconf.h
|
||||
removed SYSFLAGS conditional code
|
||||
removed MFLOPPY conditional code
|
||||
|
||||
@@ -175,37 +175,13 @@ extern struct cross_target_s cross_target;
|
||||
#include "unixconf.h"
|
||||
#endif
|
||||
|
||||
#ifdef OS2
|
||||
#include "os2conf.h"
|
||||
#endif
|
||||
|
||||
#ifdef MSDOS
|
||||
#include "pcconf.h"
|
||||
#endif
|
||||
|
||||
#ifdef TOS
|
||||
#include "tosconf.h"
|
||||
#endif
|
||||
|
||||
#ifdef AMIGA
|
||||
#include "amiconf.h"
|
||||
#endif
|
||||
|
||||
#ifdef MAC
|
||||
#include "macconf.h"
|
||||
#endif
|
||||
|
||||
#ifdef __BEOS__
|
||||
#include "beconf.h"
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef WIN_CE
|
||||
#include "wceconf.h"
|
||||
#else
|
||||
#include "ntconf.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Displayable name of this port; don't redefine if defined in *conf.h */
|
||||
#ifndef PORT_ID
|
||||
|
||||
@@ -190,9 +190,7 @@ GLOBAL_H = $(PCCONF_H) $(INCL)/coord.h $(INCL)/global.h
|
||||
CONFIG_H = $(INCL)/config.h $(INCL)/config1.h $(INCL)/tradstdc.h \
|
||||
$(INCL)/global.h $(INCL)/coord.h $(INCL)/vmsconf.h \
|
||||
$(INCL)/system.h $(INCL)/nhlua.h $(INCL)/unixconf.h \
|
||||
$(INCL)/os2conf.h $(INCL)/micro.h $(INCL)/pcconf.h \
|
||||
$(INCL)/tosconf.h $(INCL)/amiconf.h $(INCL)/macconf.h \
|
||||
$(INCL)/beconf.h $(INCL)/wceconf.h $(INCL)/ntconf.h
|
||||
$(INCL)/micro.h $(INCL)/pcconf.h $(INCL)/ntconf.h
|
||||
|
||||
HACK_H = $(INCL)/hack.h $(CONFIG_H) $(INCL)/lint.h $(INCL)/align.h \
|
||||
$(INCL)/dungeon.h $(INCL)/monsym.h $(INCL)/mkroom.h \
|
||||
|
||||
@@ -413,9 +413,7 @@ GLOBAL_H = $(PCCONF_H) $(INCL)/coord.h $(INCL)/global.h
|
||||
CONFIG_H = $(INCL)/config.h $(INCL)/config1.h $(INCL)/tradstdc.h \
|
||||
$(INCL)/global.h $(INCL)/coord.h $(INCL)/vmsconf.h \
|
||||
$(INCL)/system.h $(INCL)/nhlua.h $(INCL)/unixconf.h \
|
||||
$(INCL)/os2conf.h $(INCL)/micro.h $(INCL)/pcconf.h \
|
||||
$(INCL)/tosconf.h $(INCL)/amiconf.h $(INCL)/macconf.h \
|
||||
$(INCL)/beconf.h $(INCL)/wceconf.h $(INCL)/ntconf.h
|
||||
$(INCL)/micro.h $(INCL)/pcconf.h $(INCL)/ntconf.h
|
||||
|
||||
HACK_H = $(INCL)/hack.h $(CONFIG_H) $(INCL)/lint.h $(INCL)/align.h \
|
||||
$(INCL)/dungeon.h $(INCL)/monsym.h $(INCL)/mkroom.h \
|
||||
|
||||
@@ -370,7 +370,7 @@ WINCURSESLIB = -lncurses
|
||||
GAME = nethack
|
||||
# GAME = nethack.prg
|
||||
|
||||
# if you defined RANDOM in unixconf.h/tosconf.h since your system did not come
|
||||
# if you defined RANDOM in unixconf.h since your system did not come
|
||||
# with a reasonable random number generator
|
||||
# RANDOBJ = random.o
|
||||
RANDOBJ =
|
||||
@@ -401,7 +401,7 @@ QUIETCC=0
|
||||
# Nothing below this line should have to be changed.
|
||||
#
|
||||
# Other things that have to be reconfigured are in config.h,
|
||||
# {unixconf.h, pcconf.h, tosconf.h}, and possibly system.h
|
||||
# {unixconf.h, pcconf.h}, and possibly system.h
|
||||
|
||||
# Verbosity definitions, begin
|
||||
# Set QUIETCC=1 above to output less feedback while building.
|
||||
@@ -493,15 +493,15 @@ CSOURCES = $(HACKCSRC) $(SYSCSRC) $(WINCSRC) $(CHAINSRC) $(GENCSRC)
|
||||
# cause dependency loops if run through "make depend"
|
||||
# and dgn_file.h, special level & dungeon files.
|
||||
#
|
||||
HACKINCL = align.h amiconf.h artifact.h artilist.h attrib.h beconf.h botl.h \
|
||||
color.h config.h config1.h context.h coord.h decl.h def_os2.h \
|
||||
HACKINCL = align.h artifact.h artilist.h attrib.h beconf.h botl.h \
|
||||
color.h config.h config1.h context.h coord.h decl.h \
|
||||
display.h dlb.h dungeon.h engrave.h extern.h flag.h fnamesiz.h \
|
||||
func_tab.h global.h hack.h lint.h macconf.h mextra.h mfndpos.h \
|
||||
func_tab.h global.h hack.h lint.h mextra.h mfndpos.h \
|
||||
micro.h mkroom.h \
|
||||
monattk.h mondata.h monflag.h monst.h monsym.h obj.h objclass.h \
|
||||
optlist.h os2conf.h patchlevel.h pcconf.h permonst.h prop.h rect.h \
|
||||
optlist.h patchlevel.h pcconf.h permonst.h prop.h rect.h \
|
||||
region.h rm.h sp_lev.h spell.h sys.h system.h tcap.h timeout.h \
|
||||
tosconf.h tradstdc.h trampoli.h trap.h unixconf.h vision.h vmsconf.h \
|
||||
tradstdc.h trampoli.h trap.h unixconf.h vision.h vmsconf.h \
|
||||
wintty.h wincurs.h winX.h winprocs.h wintype.h you.h youprop.h
|
||||
|
||||
HSOURCES = $(HACKINCL) date.h onames.h pm.h vis_tab.h dgn_file.h
|
||||
@@ -733,9 +733,7 @@ depend: ../sys/unix/depend.awk \
|
||||
$(CONFIG_H): ../include/config.h ../include/config1.h ../include/tradstdc.h \
|
||||
../include/global.h ../include/coord.h ../include/vmsconf.h \
|
||||
../include/system.h ../include/nhlua.h ../include/unixconf.h \
|
||||
../include/os2conf.h ../include/micro.h ../include/pcconf.h \
|
||||
../include/tosconf.h ../include/amiconf.h ../include/macconf.h \
|
||||
../include/beconf.h ../include/wceconf.h ../include/ntconf.h \
|
||||
../include/micro.h ../include/pcconf.h ../include/ntconf.h \
|
||||
../include/fnamesiz.h
|
||||
touch $(CONFIG_H)
|
||||
# hack.h timestamp
|
||||
|
||||
@@ -173,14 +173,14 @@ VERSOURCES = $(HACKCSRC) $(SYSSRC) $(WINSRC) $(RANDSRC) $(GENCSRC)
|
||||
# cause dependency loops if run through "make depend"
|
||||
# and dgn_comp.h, dgn_file.h, lev_comp.h, special level & dungeon files.
|
||||
#
|
||||
HACKINCL = align.h amiconf.h artifact.h artilist.h attrib.h beconf.h color.h \
|
||||
config.h config1.h context.h coord.h decl.h def_os2.h display.h \
|
||||
HACKINCL = align.h artifact.h artilist.h attrib.h color.h \
|
||||
config.h config1.h context.h coord.h decl.h display.h \
|
||||
dlb.h dungeon.h engrave.h extern.h flag.h func_tab.h global.h \
|
||||
hack.h macconf.h mextra.h mfndpos.h micro.h mkroom.h \
|
||||
hack.h mextra.h mfndpos.h micro.h mkroom.h \
|
||||
monattk.h mondata.h monflag.h monst.h monsym.h obj.h objclass.h \
|
||||
os2conf.h patchlevel.h pcconf.h permonst.h prop.h rect.h \
|
||||
patchlevel.h pcconf.h permonst.h prop.h rect.h \
|
||||
region.h rm.h sp_lev.h spell.h sys.h system.h tcap.h timeout.h \
|
||||
tosconf.h tradstdc.h trampoli.h trap.h unixconf.h vision.h \
|
||||
tradstdc.h trampoli.h trap.h unixconf.h vision.h \
|
||||
vmsconf.h wintty.h winX.h winprocs.h wintype.h you.h youprop.h
|
||||
|
||||
#HSOURCES = $(HACKINCL) date.h onames.h pm.h vis_tab.h\
|
||||
@@ -378,11 +378,8 @@ spotless : clean
|
||||
# dependencies (mostly cloned from sys/unix/Makefile.src)
|
||||
# config.h timestamp
|
||||
$(CONFIG_H) : $(INC)config.h $(INC)config1.h $(INC)tradstdc.h $(INC)global.h \
|
||||
$(INC)coord.h $(INC)vmsconf.h $(INC)system.h \
|
||||
$(INC)unixconf.h $(INC)os2conf.h $(INC)micro.h \
|
||||
$(INC)pcconf.h $(INC)tosconf.h $(INC)amiconf.h \
|
||||
$(INC)macconf.h $(INC)beconf.h $(INC)wceconf.h \
|
||||
$(INC)ntconf.h
|
||||
$(INC)coord.h $(INC)vmsconf.h $(INC)system.h $(INC)unixconf.h \
|
||||
$(INC)micro.h $(INC)pcconf.h $(INC)ntconf.h
|
||||
$(TOUCH) $(CONFIG_H)
|
||||
# hack.h timestamp
|
||||
$(HACK_H) : $(INC)hack.h $(CONFIG_H) $(INC)align.h \
|
||||
|
||||
@@ -474,8 +474,7 @@ endif
|
||||
CONFIG_H = $(INCL)/config.h $(INCL)/config1.h $(INCL)/tradstdc.h \
|
||||
$(INCL)/global.h $(INCL)/fnamesiz.h $(INCL)/coord.h \
|
||||
$(INCL)/vmsconf.h $(INCL)/system.h $(INCL)/unixconf.h \
|
||||
$(INCL)/os2conf.h $(INCL)/micro.h $(INCL)/pcconf.h \
|
||||
$(INCL)/tosconf.h $(INCL)/amiconf.h $(INCL)/macconf.h \
|
||||
$(INCL)/micro.h $(INCL)/pcconf.h \
|
||||
$(INCL)/beconf.h $(INCL)/ntconf.h
|
||||
|
||||
HACK_H = $(INCL)/hack.h $(CONFIG_H) $(INCL)/align.h $(INCL)/context.h \
|
||||
|
||||
@@ -472,9 +472,7 @@ PDCLIB =
|
||||
CONFIG_H = $(INCL)\config.h $(INCL)\config1.h $(INCL)\tradstdc.h \
|
||||
$(INCL)\global.h $(INCL)\fnamesiz.h $(INCL)\coord.h \
|
||||
$(INCL)\vmsconf.h $(INCL)\system.h $(INCL)\nhlua.h \
|
||||
$(INCL)\unixconf.h $(INCL)\os2conf.h $(INCL)\micro.h \
|
||||
$(INCL)\pcconf.h $(INCL)\tosconf.h $(INCL)\amiconf.h \
|
||||
$(INCL)\macconf.h $(INCL)\beconf.h $(INCL)\wceconf.h \
|
||||
$(INCL)\unixconf.h $(INCL)\micro.h $(INCL)\pcconf.h \
|
||||
$(INCL)\ntconf.h
|
||||
|
||||
HACK_H = $(INCL)\hack.h $(CONFIG_H) $(INCL)\lint.h $(INCL)\align.h \
|
||||
|
||||
Reference in New Issue
Block a user