From: Pasi Kallinen Date: Fri, 23 Nov 2018 17:20:59 +0000 (+0200) Subject: Add some commented out flags to linux hints file X-Git-Tag: NetHack-3.6.2_Released~162^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3517277467e5f1fe28879a0a2b6b1c5123e8de81;p=nethack Add some commented out flags to linux hints file --- diff --git a/include/config.h b/include/config.h index 4f242679a..d59a82af5 100644 --- a/include/config.h +++ b/include/config.h @@ -522,6 +522,10 @@ typedef unsigned char uchar; but it isn't necessary for successful operation of the program */ #define FREE_ALL_MEMORY /* free all memory at exit */ +/* EXTRA_SANITY_CHECKS adds extra impossible calls, + * probably not useful for normal play */ +/* #define EXTRA_SANITY_CHECKS */ + /* EDIT_GETLIN makes the string input in TTY, Qt4, and X11 so some prompts will remember the previously input text (within the same session) */ diff --git a/sys/unix/hints/linux b/sys/unix/hints/linux index cb0317946..1d9c45509 100644 --- a/sys/unix/hints/linux +++ b/sys/unix/hints/linux @@ -28,6 +28,12 @@ CFLAGS+=-DHACKDIR=\"$(HACKDIR)\" CFLAGS+=-DDUMPLOG CFLAGS+=-DCONFIG_ERROR_SECURE=FALSE CFLAGS+=-DCURSES_GRAPHICS +#CFLAGS+=-DEXTRA_SANITY_CHECKS +#CFLAGS+=-DEDIT_GETLIN +#CFLAGS+=-DSCORE_ON_BOTL +#CFLAGS+=-DMSGHANDLER +#CFLAGS+=-DTTY_TILES_ESCCODES +#CFLAGS+=-DDLB LINK=$(CC) # Only needed for GLIBC stack trace: @@ -37,6 +43,10 @@ WINSRC = $(WINTTYSRC) $(WINCURSESSRC) WINOBJ = $(WINTTYOBJ) $(WINCURSESOBJ) WINLIB = $(WINTTYLIB) $(WINCURSESLIB) +# if TTY_TILES_ESCCODES +#WINSRC += tile.c +#WINOBJ += tile.o + WINTTYLIB=-lcurses CHOWN=true