Thu Jan 19 20:45:04 SAST 2006 Clive Crous tagged 0.0.7E7F2-dos-ansi Thu Jan 19 20:21:47 SAST 2006 Clive Crous * slashem bug, unable to compile pure ansi msdos Fri Jul 15 00:42:00 SAST 2005 Clive Crous * If graphics are suppressed, there can be no tiles Fri Jul 15 00:06:17 SAST 2005 Clive Crous * suppress all graphics Fri Jul 15 00:05:56 SAST 2005 Clive Crous * disable Allegro Graphics Fri Jul 15 00:04:47 SAST 2005 Clive Crous * disable VGA Graphics Fri Jul 15 00:00:08 SAST 2005 Clive Crous * no YACC_LEX by default Thu Jul 14 23:24:18 SAST 2005 Clive Crous * fast DJGPP screen routines Thu Jul 14 23:21:50 SAST 2005 Clive Crous * DLB please, otherwise the data dir is just so icky Thu Jul 14 23:20:54 SAST 2005 Clive Crous * use MSDOS not UNIX Thu Jan 19 18:20:24 SAST 2006 Clive Crous tagged 0.0.7E7F2 diff -rN -u old-slashem-dos-ansi/include/config.h new-slashem-dos-ansi/include/config.h --- old-slashem-dos-ansi/include/config.h Fri Jan 20 08:22:30 2006 +++ new-slashem-dos-ansi/include/config.h Fri Jan 20 08:22:30 2006 @@ -23,9 +23,9 @@ * provide it (no need to change sec#1, vmsconf.h handles it). */ -#define UNIX /* delete if no fork(), exec() available */ +/* #define UNIX */ /* delete if no fork(), exec() available */ -/* #define MSDOS */ /* in case it's not auto-detected */ +#define MSDOS /* in case it's not auto-detected */ /* #define OS2 */ /* in case it's not auto-detected */ @@ -246,7 +246,7 @@ * a tar-like file, thus making a neater installation. See *conf.h * for detailed configuration. */ -/* #define DLB */ /* not supported on all platforms */ +#define DLB /* not supported on all platforms */ /* * Defining INSURANCE slows down level changes, but allows games that diff -rN -u old-slashem-dos-ansi/include/pcconf.h new-slashem-dos-ansi/include/pcconf.h --- old-slashem-dos-ansi/include/pcconf.h Fri Jan 20 08:22:30 2006 +++ new-slashem-dos-ansi/include/pcconf.h Fri Jan 20 08:22:30 2006 @@ -68,8 +68,8 @@ /* screen routines into the .exe */ # ifdef NO_TERMS /* if NO_TERMS select one screen package below */ -#define SCREEN_BIOS /* Use bios calls for all screen control */ -/* #define SCREEN_DJGPPFAST */ /* Use djgpp fast screen routines */ +/* #define SCREEN_BIOS */ /* Use bios calls for all screen control */ +#define SCREEN_DJGPPFAST /* Use djgpp fast screen routines */ # endif @@ -86,8 +86,8 @@ # ifndef SUPPRESS_GRAPHICS # if (defined(SCREEN_BIOS) || defined(SCREEN_DJGPPFAST)) && !defined(PC9800) # ifdef USE_TILES -#define SCREEN_VGA /* Include VGA graphics routines in the build */ -#define ALLEG_FX /* Use Allegro libraries */ +/* #define SCREEN_VGA */ /* Include VGA graphics routines in the build */ +/* #define ALLEG_FX */ /* Use Allegro libraries */ # endif # endif # else diff -rN -u old-slashem-dos-ansi/sys/msdos/Makefile.GCC new-slashem-dos-ansi/sys/msdos/Makefile.GCC --- old-slashem-dos-ansi/sys/msdos/Makefile.GCC Fri Jan 20 08:22:30 2006 +++ new-slashem-dos-ansi/sys/msdos/Makefile.GCC Fri Jan 20 08:22:31 2006 @@ -74,7 +74,7 @@ # # If you have yacc/lex or a work-alike set YACC_LEX to Y # -YACC_LEX = Y +YACC_LEX = N ifeq ($(YACC_LEX),Y) DO_YACC = YACC_ACT DO_LEX = LEX_ACT @@ -117,20 +117,20 @@ # suitable for blind players, # set SUPPRESS_GRAPHICS to Y # (Note: binary will require ANSI.SYS driver or equivalent loaded) -# SUPPRESS_GRAPHICS = Y -SUPPRESS_GRAPHICS = +SUPPRESS_GRAPHICS = Y +#SUPPRESS_GRAPHICS = # set USE_VGA to Y to use the VGA tiles # you also need to uncomment SCREEN_VGA in pcconf.h -USE_VGA = Y -#USE_VGA +#USE_VGA = Y +USE_VGA = # set USE_ALLEGRO to Y to use the allegro library # set USE_AALIB to Y to use anti-aliasing library # BE SURE TO ALSO UNCOMMENT OUT the #define ALLEG_FX in pcconf.h -#USE_ALLEGRO = -USE_ALLEGRO = Y +USE_ALLEGRO = +#USE_ALLEGRO = Y USE_AALIB = #USE_AALIB = Y @@ -588,7 +588,9 @@ echo $(VOBJ22) >> $(subst /,\,$@) echo $(VOBJ23) >> $(subst /,\,$@) echo $(SOBJ) >> $(subst /,\,$@) +ifneq ($(SUPPRESS_GRAPHICS),Y) echo $(TILOBJ) >> $(subst /,\,$@) +endif echo $(VVOBJ) >> $(subst /,\,$@) #========================================== diff -rN -u old-slashem-dos-ansi/win/tty/termcap.c new-slashem-dos-ansi/win/tty/termcap.c --- old-slashem-dos-ansi/win/tty/termcap.c Fri Jan 20 08:22:30 2006 +++ new-slashem-dos-ansi/win/tty/termcap.c Fri Jan 20 08:22:32 2006 @@ -211,7 +211,9 @@ #endif #ifdef TEXTCOLOR +# ifndef MSDOS init_ttycolor(); +# endif #endif #ifdef TERMLIB