diff options
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 66 |
1 files changed, 1 insertions, 65 deletions
diff --git a/src/config.h b/src/config.h index cb258925..290ec624 100644 --- a/src/config.h +++ b/src/config.h @@ -30,16 +30,12 @@ * OPTION: See the Makefile(s), where several options may be declared. * * Some popular options include "USE_GCU" (allow use with Unix "curses"), - * "USE_X11" (allow basic use with Unix X11) and "USE_XAW" (allow use with - * Unix X11 plus the Athena Widget set). + * and "USE_X11" (allow basic use with Unix X11). * * The old "USE_NCU" option has been replaced with "USE_GCU". * * Several other such options are available for non-unix machines, * such as "MACINTOSH", "WINDOWS". - * - * You may also need to specify the "system", using defines such as - * "SOLARIS" (for Solaris), etc, see "h-config.h" for more info. */ @@ -60,53 +56,11 @@ /* - * OPTION: Use "blocking getch() calls" in "main-gcu.c". - * Hack -- Note that this option will NOT work on many BSD machines - * Currently used whenever available, if you get a warning about - * "nodelay()" undefined, then make sure to undefine this. - */ -#if defined(SYS_V) -# define USE_GETCH -#endif - - -/* - * OPTION: Use the "curs_set()" call in "main-gcu.c". - * Hack -- This option will not work on most BSD machines - */ -#ifdef SYS_V -# define USE_CURS_SET -#endif - - -/* * OPTION: Include "ncurses.h" instead of "curses.h" in "main-gcu.c" */ /* #define USE_NCURSES */ -/* - * OPTION: for multi-user machines running the game setuid to some other - * user (like 'games') this SAFE_SETUID option allows the program to drop - * its privileges when saving files that allow for user specified pathnames. - * This lets the game be installed system wide without major security - * concerns. There should not be any side effects on any machines. - * - * This will handle "gids" correctly once the permissions are set right. - */ -#define SAFE_SETUID - - -/* - * This flag enables the "POSIX" methods for "SAFE_SETUID". - */ -#if defined(_POSIX_SAVED_IDS) && !(defined(SUNOS) && !defined(SOLARIS)) && !defined(__APPLE__) -# define SAFE_SETUID_POSIX -#endif - - - - /* * OPTION: Maximum flow depth @@ -117,18 +71,6 @@ /* - * OPTION: Allow the use of "sound" in various places. - */ -#define USE_SOUND - -/* - * OPTION: Allow the use of "graphics" in various places - */ -#define USE_GRAPHICS - - - -/* * OPTION: Set the "default" path to the angband "lib" directory. * * See "main.c" for usage, and note that this value is only used on @@ -157,13 +99,7 @@ /* * Where to put the user's files. */ -#if defined(MACH_O_CARBON) -#define PRIVATE_USER_PATH "~/Library/Application Support/ToME" -#define PRIVATE_USER_PATH_DATA -#define PRIVATE_USER_PATH_MODULES -#else #define PRIVATE_USER_PATH "~/.tome" -#endif /* |