OSDN Git Service

[Refactor] #37353 ALLOW_COLORS のプリプロが有効であることを前提とし、プリプロ自体は削除 / Removed ALLOW_COLORS...
authorHourier <hourier@users.sourceforge.jp>
Sat, 25 Jan 2020 14:59:33 +0000 (23:59 +0900)
committerHourier <hourier@users.sourceforge.jp>
Sat, 25 Jan 2020 14:59:33 +0000 (23:59 +0900)
src/cmd/cmd-dump.c
src/h-config.h

index 32aad0b..e89d9e0 100644 (file)
@@ -2609,11 +2609,8 @@ void do_cmd_colors(player_type *creature_ptr)
 
                /* Give some choices */
                prt(_("(1) ユーザー設定ファイルのロード", "(1) Load a user pref file"), 4, 5);
-
-#ifdef ALLOW_COLORS
                prt(_("(2) カラーの設定をファイルに書き出す", "(2) Dump colors"), 5, 5);
                prt(_("(3) カラーの設定を変更する", "(3) Modify colors"), 6, 5);
-#endif
 
                /* Prompt */
                prt(_("コマンド: ", "Command: "), 8, 0);
@@ -2647,8 +2644,6 @@ void do_cmd_colors(player_type *creature_ptr)
                        Term_redraw();
                }
 
-#ifdef ALLOW_COLORS
-
                /* Dump colors */
                else if (i == '2')
                {
@@ -2772,8 +2767,6 @@ void do_cmd_colors(player_type *creature_ptr)
                        }
                }
 
-#endif
-
                /* Unknown option */
                else
                {
index b317e17..987590c 100644 (file)
 
 #endif /* USE_DEBUG */
 
-/*!
- * @brief キャラクターの色変更機能を付加する / OPTION: Allow "do_cmd_colors" at run-time
- */
-#define ALLOW_COLORS
-
  /*
  * OPTION: Handle signals
  */