#define INCLUDED_H_CONFIG_H
/*
- * OPTION: Compile on a Macintosh (see "A-mac-h" or "A-mac-pch")
- * Automatic for Mac MPW compilation
- */
-#ifndef MACINTOSH
-/* #define MACINTOSH */
-#endif
-
-/*
* OPTION: Compile on Windows (automatic)
*/
#ifndef WINDOWS
#endif
/*
- * Extract the "MAC_MPW" flag from the compiler
- */
-#if defined(__SC__) || defined(__MRC__)
-# ifndef MACINTOSH
-# define MACINTOSH
-# endif
-# ifndef MAC_MPW
-# define MAC_MPW
-# endif
-#endif
-
-/*
* OPTION: Compile on a HPUX version of UNIX
*/
#ifndef HPUX
#endif
/*
- * OPTION: Compile on a Solaris machine
- */
-#ifndef SOLARIS
-/* #define SOLARIS */
-#endif
-
-/*
* OPTION: Compile on an ultrix/4.2BSD/Dynix/etc. version of UNIX,
* Do not define this if you are on any kind of SunOS.
*/
* Basically, SET_UID should *only* be set for "Unix" machines,
* or for the "Atari" platform which is Unix-like, apparently
*/
-#if !defined(MACINTOSH) && !defined(WINDOWS) && !defined(VM)
+#if !defined(WINDOWS) && !defined(VM)
# define SET_UID
#endif
* involving userid's, or multiple users on a single machine, etc.
*/
#ifdef SET_UID
-# if defined(SOLARIS) || \
- defined(HPUX) || defined(SGI)
+# if defined(HPUX) || defined(SGI)
# ifndef USG
# define USG
# endif
*/
#undef PATH_SEP
#define PATH_SEP "/"
-#ifdef MACINTOSH
-# undef PATH_SEP
-# define PATH_SEP ":"
-#endif
#if defined(WINDOWS) || defined(WINNT)
# undef PATH_SEP
# define PATH_SEP "\\"
/*
* The Macintosh allows the use of a "file type" when creating a file
*/
-#if defined(MACINTOSH) || defined(MACH_O_CARBON)
+#if defined(MACH_O_CARBON)
# define FILE_TYPE_TEXT 'TEXT'
# define FILE_TYPE_DATA 'DATA'
# define FILE_TYPE_SAVE 'SAVE'
* OPTION: Define "HAVE_USLEEP" only if "usleep()" exists.
*
* Note that this is only relevant for "SET_UID" machines.
- * Note that new "SOLARIS" and "SGI" machines have "usleep()".
+ * Note that new "SGI" machines have "usleep()".
*/
#if defined(SET_UID) && !defined(HAVE_CONFIG_H)
# if !defined(HPUX) && !defined(ULTRIX) && !defined(ISC)
#endif /* INCLUDED_H_CONFIG_H */
-
-/* Allow debug commands */
-#define USE_DEBUG
-
/* Allow various special stuff (sound, graphics, etc.) */
#define USE_SPECIAL
/*
- * 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), "USE_XAW" (allow use with
- * Unix X11 plus the Athena Widget set), and "USE_CAP" (allow use with
- * the "termcap" library, or with hard-coded vt100 terminals).
- *
- * 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"
*/
/*
- * Prevent problems on (non-Solaris) Suns using "SAFE_SETUID".
- * The SAFE_SETUID code is weird, use it at your own risk...
- */
-#if !defined(SOLARIS)
-# undef SAFE_SETUID_POSIX
-#endif
-
-
-
-
-/*
- * OPTION: for the AFS distributed file system, define this to ensure that
- * the program is secure with respect to the setuid code. This option has
- * not been tested (to the best of my knowledge). This option may require
- * some weird tricks with "player_uid" and such involving "defines".
- * Note that this option used the AFS library routines Authenticate(),
- * bePlayer(), beGames() to enforce the proper priviledges.
- * You may need to turn "SAFE_SETUID" off to use this option.
- */
-/* #define SECURE */
-
-
-
-
-/*
- * OPTION: Verify savefile Checksums (Angband 2.7.0 and up)
- * This option can help prevent "corruption" of savefiles, and also
- * stop intentional modification by amateur users.
- */
-#define VERIFY_CHECKSUMS
-
-
-/*
* OPTION: Forbid the use of "fiddled" savefiles. As far as I can tell,
* a fiddled savefile is one with an internal timestamp different from
* the actual timestamp. Thus, turning this option on forbids one from
*/
/* #define VERIFY_SAVEFILE */
-
-
-/*
- * OPTION: Hack -- Compile in support for "Cyborg" mode
- */
-/*#define ALLOW_BORG*/
-
-#ifdef USE_DEBUG
-
-/*!
- * @brief ウィザードモードへの移行を許可する / OPTION: Hack -- Compile in support for "Wizard Commands"
- */
-#define ALLOW_WIZARD
-
-/*!
- * @brief スポイラー出力を許可する / OPTION: Hack -- Compile in support for "Spoiler Generation"
- */
-#define ALLOW_SPOILERS
-
-#endif /* USE_DEBUG */
-
/*
* OPTION: Handle signals
*/
/* #define SCORE_WIZARDS */
/*
- * Allow "Borgs" to yield "high scores"
- */
-/*#define SCORE_BORGS*/
-
-/*
* Allow "Cheaters" to yield "high scores"
*/
/* #define SCORE_CHEATERS */
#define PRIVATE_USER_PATH "~/.angband"
#endif /* SET_UID */
-
/*
* On multiuser systems, add the "uid" to savefile names
*/
# define SAVEFILE_USE_UID
#endif
-
-/*
- * OPTION: Check the "time" against "lib/file/hours.txt"
- */
-/* #define CHECK_TIME */
-
-/*
- * OPTION: Check the "load" against "lib/file/load.txt"
- * This may require the 'rpcsvs' library
- */
-/* #define CHECK_LOAD */
-
-
-/*
- * 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. Note that
- * this also gives a method of "bypassing" the "VERIFY_TIMESTAMP" code.
- */
-/*
-#if defined(MACINTOSH) || defined(WINDOWS)
-# define SAVEFILE_MUTABLE
-#endif
-*/
-
-/*
- * OPTION: Capitalize the "user_name" (for "default" player name)
- * This option is only relevant on SET_UID machines.
- */
-#define CAPITALIZE_USER_NAME
-
-
-
/*
* OPTION: Person to bother if something goes wrong.
*/
/*
- * OPTION: Gamma correct X11 colours.
- */
-
-#define SUPPORT_GAMMA
-
-/*
* Hack -- Mach-O (native binary format of OS X) is basically a Un*x
* but has Mac OS/Windows-like user interface
*/
*/
#ifdef VERIFY_HONOR
# define VERIFY_SAVEFILE
-# define VERIFY_CHECKSUMS
# define VERIFY_TIMESTAMPS
#endif
-/*
- * Check the modification time of *_info.raw files
- * (by Keldon Jones)
- */
-#ifndef MAC_MPW
-#define CHECK_MODIFICATION_TIME
-#endif
-
-/*
- * Use the new sorting routines for creation
- * of the monster allocation table
- */
-#define SORT_R_INFO
-
-
#ifndef HAVE_CONFIG_H
#define WORLD_SCORE
#endif /* HAVE_CONFIG_H */