-/* 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: Delay the loading of the "f_text" array until it is actually
- * needed, saving ~1K, since "feature" descriptions are unused.
- */
-#define DELAY_LOAD_F_TEXT
-
-/*
- * OPTION: Delay the loading of the "k_text" array until it is actually
- * needed, saving ~1K, since "object" descriptions are unused.
- */
-#define DELAY_LOAD_K_TEXT
-
-/*
- * OPTION: Delay the loading of the "a_text" array until it is actually
- * needed, saving ~1K, since "artifact" descriptions are unused.
- */
-#ifndef JP
-#define DELAY_LOAD_A_TEXT
-#endif
-
-/*
- * OPTION: Delay the loading of the "e_text" array until it is actually
- * needed, saving ~1K, since "ego-item" descriptions are unused.
- */
-#define DELAY_LOAD_E_TEXT
-
-/*
- * OPTION: Delay the loading of the "r_text" array until it is actually
- * needed, saving ~60K, but "simplifying" the "monster" descriptions.
- */
-/* #define DELAY_LOAD_R_TEXT */
-
-/*
- * OPTION: Delay the loading of the "d_text" array until it is actually
- * needed, saving ~1K, since "dungeon" descriptions are unused.
- */
-/* #define DELAY_LOAD_D_TEXT */
-
-/*
- * OPTION: Delay the loading of the "v_text" array until it is actually
- * needed, saving ~1K, but "destroying" the "vault" generation.
- */
-/* #define DELAY_LOAD_V_TEXT */
-
-
-/*
* OPTION: Handle signals
*/
#define HANDLE_SIGNALS
#define MONSTER_FLOW_DEPTH 32
-
-/*
- * 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: Enable the "smart_learn" and "smart_cheat" options.
- * They let monsters make more "intelligent" choices about attacks
- * (including spell attacks) based on their observations of the
- * player's reactions to previous attacks. The "smart_cheat" option
- * lets the monster know how the player would react to an attack
- * without actually needing to make the attack. The "smart_learn"
- * option requires that a monster make a "failed" attack before
- * learning that the player is not harmed by that attack.
- *
- * This adds about 3K to the memory and about 5K to the executable.
- *
- * SPECIAL NOTE: In Z, the "smart" field is also used to store such
- * monster information as "friendly" and "cloned". Therefore this
- * option should always be defined when compiling Zangband 2.1.0
- * or later.
- */
-#define DRS_SMART_OPTIONS
-
-
-
-/*
- * OPTION: Enable the "track_follow" and "track_target" options.
- * They let monsters follow the player's foot-prints, or remember
- * the player's recent locations. This code has been removed from
- * the current version because it is being rewritten by Billy, and
- * until it is ready, it will not work. Do not define this option.
- */
-/* #define WDT_TRACK_OPTIONS */
-
#ifdef USE_SPECIAL
/*
/*
* 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
*/
* OPTION: Person to bother if something goes wrong.
*/
/* #define MAINTAINER "rr9@angband.org" */
-#define MAINTAINER "echizen@s5.xrea.com"
+#define MAINTAINER "echizen@users.sourceforge.jp"
#ifdef JP
#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
# undef ALLOW_COLORS
# undef ALLOW_VISUALS
# undef ALLOW_MACROS
-# undef WDT_TRACK_OPTIONS
-# undef DRS_SMART_OPTIONS
# undef ALLOW_OLD_SAVEFILES
# undef ALLOW_BORG
# undef ALLOW_WIZARD
# define VERIFY_TIMESTAMPS
#endif
-/* Zangband options: */
-
-/* (see above) */
-#ifndef DRS_SMART_OPTIONS
- #define DRS_SMART_OPTIONS
-#endif
-
-/* Do we want different characters for different races? */
-# define VARIABLE_PLAYER_GRAPH
-
-/* Allow hordes of 'similar' monsters */
-# define MONSTER_HORDES
-
-/* Wizard mode testing options: */
-
-/* Testing upkeep */
-/* # define TRACK_FRIENDS */
-
-/*
- * OPTION: Repeat last command -- TNB
- */
-#define ALLOW_REPEAT
-
-/*
- * OPTION: Make opening and closing things easy -- TNB
- */
-#define ALLOW_EASY_OPEN
-
-/*
- * OPTION: Make disarming traps easy -- TNB
- */
-#define ALLOW_EASY_DISARM
-
-/*
- * OPTION: Make floor stacks easy -- TNB
- */
-#define ALLOW_EASY_FLOOR
-
/*
* Check the modification time of *_info.raw files
* (by Keldon Jones)
*/
#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 */