diff options
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 185 |
1 files changed, 1 insertions, 184 deletions
diff --git a/src/config.h b/src/config.h index 7c1cf1d7..290ec624 100644 --- a/src/config.h +++ b/src/config.h @@ -30,24 +30,13 @@ * 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. - */ - - -/* - * OPTION: define "SPECIAL_BSD" for using certain versions of UNIX - * that use the 4.4BSD Lite version of Curses in "main-gcu.c" */ -/* #define SPECIAL_BSD */ /* @@ -67,90 +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: Allow characteres to be "auto-rolled" - */ -#define ALLOW_AUTOROLLER - - -/* - * OPTION: Allow monsters to "flee" when hit hard - */ -#define ALLOW_FEAR - -/* - * OPTION: Allow monsters to "flee" from strong players - */ -#define ALLOW_TERROR - - -/* - * OPTION: Handle signals - */ -#define HANDLE_SIGNALS - - -/* - * Allow "Wizards" to yield "high scores" - */ -/* #define SCORE_WIZARDS */ - -/* - * Allow "Borgs" to yield "high scores" - */ -/*#define SCORE_BORGS*/ - -/* - * Allow "Cheaters" to yield "high scores" - */ -/* #define SCORE_CHEATERS */ - - /* * OPTION: Maximum flow depth @@ -159,50 +69,6 @@ -/* - * OPTION: Allow use of extended spell info -DRS- - */ -#define DRS_SHOW_SPELL_INFO - -/* - * OPTION: Allow use of the monster health bar -DRS- - */ -#define DRS_SHOW_HEALTH_BAR - - - -/* - * 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: Hack -- Macintosh stuff - */ -#ifdef MACINTOSH - -/* Do not handle signals */ -# undef HANDLE_SIGNALS - -#endif - - -/* - * OPTION: Hack -- Windows stuff - */ -#ifdef WINDOWS - -/* Do not handle signals */ -# undef HANDLE_SIGNALS - -#endif - /* * OPTION: Set the "default" path to the angband "lib" directory. @@ -233,29 +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_APEX -#define PRIVATE_USER_PATH_MODULES -#else #define PRIVATE_USER_PATH "~/.tome" -#define PRIVATE_USER_PATH_APEX -#endif - -/* - * OPTION: For some brain-dead computers with no command line interface, - * namely Macintosh, there has to be some way of "naming" your savefiles. - * The current "Macintosh" hack is to make it so whenever the character - * name changes, the savefile is renamed accordingly. But on normal - * machines, once you manage to "load" a savefile, it stays that way. - * Macintosh is particularly weird because you can load savefiles that - * are not contained in the "lib:save:" folder, and if you change the - * player's name, it will then save the savefile elsewhere. - */ -#if defined(MACINTOSH) || defined(WINDOWS) -/* #define SAVEFILE_MUTABLE */ -#endif /* @@ -279,33 +123,6 @@ -/* ToME options: */ - -/* Should the player know his / her starting life rate? */ -/* #define SHOW_LIFE_RATE */ - -/* Allow hordes of 'similar' monsters */ -#define MONSTER_HORDES - -/* Wizard mode testing options: */ - -/* For testing the vaults */ -/* # define FORCE_V_IDX 20 */ - -/* Testing upkeep */ -/* # define TRACK_FRIENDS */ - -/* - * Using the fast autoroller can be considered as cheating - */ -#define USE_FAST_AUTOROLLER - -/* - * Enable the CTRL + L command to quit without saving - * Only use for debugging purpose, otherwise you are a CHEATER - */ -/* #define ALLOW_QUITTING */ - /* * Allow makefiles to override the default file mode */ |