-/* File: z-config.h */
+/* File: z-config.h */
/*
* Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
* USE_FONTSET and/or USE_XIM can be commented out
* when you don't want to use it.
*/
-#ifdef JP
#define USE_FONTSET
+
+#ifdef JP
#define USE_XIM
#endif
#endif
#if defined(JP) && !defined(USE_FONTSET)
-#define _JP
+#define USE_JP_FONTSTRUCT
#endif
#endif /* HAVE_CONFIG_H */
* 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", "USE_IBM", "USE_EMX".
+ * such as "MACINTOSH", "WINDOWS", "USE_IBM".
*
* You may also need to specify the "system", using defines such as
* "SOLARIS" (for Solaris), etc, see "h-config.h" for more info.
*/
/* #define USE_TCHARS */
-
-/*
- * 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) || defined(AMIGA)
-# 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"
*/
* Prevent problems on (non-Solaris) Suns using "SAFE_SETUID".
* The SAFE_SETUID code is weird, use it at your own risk...
*/
-#if defined(SUNOS) && !defined(SOLARIS)
+#if !defined(SOLARIS)
# undef SAFE_SETUID_POSIX
#endif
#ifdef USE_DEBUG
-/*
- * OPTION: Hack -- Compile in support for "Wizard Commands"
+/*!
+ * @brief ウィザードモードへの移行を許可する / OPTION: Hack -- Compile in support for "Wizard Commands"
*/
#define ALLOW_WIZARD
-/*
- * OPTION: Hack -- Compile in support for "Spoiler Generation"
+/*!
+ * @brief スポイラー出力を許可する / OPTION: Hack -- Compile in support for "Spoiler Generation"
*/
#define ALLOW_SPOILERS
#endif /* USE_DEBUG */
-/*
- * OPTION: Allow "do_cmd_colors" at run-time
+/*!
+ * @brief キャラクターの色変更機能を付加する / OPTION: Allow "do_cmd_colors" at run-time
*/
#define ALLOW_COLORS
-/*
- * OPTION: Allow "do_cmd_visuals" at run-time
+/*!
+ * @brief キャラクターのシンボル変更機能を付加する / OPTION: Allow "do_cmd_visuals" at run-time
*/
#define ALLOW_VISUALS
-/*
- * OPTION: Allow "do_cmd_macros" at run-time
+/*!
+ * @brief マクロ機能を付加する / OPTION: Allow "do_cmd_macros" at run-time
*/
#define ALLOW_MACROS
-/*
- * OPTION: Allow characteres to be "auto-rolled"
+/*!
+ * @brief オートローラー機能を付加する / OPTION: Allow characteres to be "auto-rolled"
*/
#define ALLOW_AUTOROLLER
-
-/*
- * OPTION: Allow monsters to "flee" when hit hard
+/*!
+ * @brief 一定以上のダメージを受けたモンスターが恐怖して逃走する / OPTION: Allow monsters to "flee" when hit hard
*/
#define ALLOW_FEAR
-/*
- * OPTION: Allow monsters to "flee" from strong players
+/*!
+ * @brief 一定以上のレベルを持ったプレイヤーが相手ならば、弱いモンスターは逃げ出す/ OPTION: Allow monsters to "flee" from strong players
*/
#define ALLOW_TERROR
/*
* OPTION: Allow the use of "music" in various places
*/
-/* #define USE_MUSIC */
+#define USE_MUSIC
#endif /* USE_SPECIAL */
-/*
- * 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: Hack -- EMX stuff
- */
-#ifdef USE_EMX
-
-/* Do not handle signals */
-# undef HANDLE_SIGNALS
-
-#endif
-
/*
* OPTION: Set the "default" path to the angband "lib" directory.
* this also gives a method of "bypassing" the "VERIFY_TIMESTAMP" code.
*/
/*
-#if defined(MACINTOSH) || defined(WINDOWS) || defined(AMIGA)
+#if defined(MACINTOSH) || defined(WINDOWS)
# define SAVEFILE_MUTABLE
#endif
*/
#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 MACH_O_CARBON
+# ifdef PRIVATE_USER_PATH
+# undef PRIVATE_USER_PATH
+# endif
+# ifdef SAVEFILE_USE_UID
+# undef SAVEFILE_USE_UID
+# endif
+#endif
+
+/*
* Hack -- Special "ancient machine" versions
*/
-#if defined(USE_286) || defined(ANGBAND_LITE_MAC)
+#if defined(ANGBAND_LITE_MAC)
# ifndef ANGBAND_LITE
# define ANGBAND_LITE
# endif
/* Zangband options: */
/* Allow hordes of 'similar' monsters */
-# define MONSTER_HORDES
-
-/* Wizard mode testing options: */
-
-/* Testing upkeep */
-/* # define TRACK_FRIENDS */
+#define MONSTER_HORDES
/*
* OPTION: Repeat last command -- TNB
*/
#define SORT_R_INFO
-/*
- * Use a scripting language
- */
-/* #define USE_SCRIPT */
-
-#ifdef USE_SCRIPT
-/*
- * Python is statically linked into ZAngband
- */
-# define STATIC_PYTHON
-/* # define SCRIPT_OBJ_KIND */
-#endif /* USE_SCRIPT */
#ifndef HAVE_CONFIG_H
-#ifndef MSDOS
#define WORLD_SCORE
-#endif
#endif /* HAVE_CONFIG_H */