OSDN Git Service

[Refactor] #37353 コメント整理。 / Refactor comments.
authorDeskull <deskull@users.sourceforge.jp>
Fri, 4 Jan 2019 02:11:42 +0000 (11:11 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Fri, 4 Jan 2019 02:11:42 +0000 (11:11 +0900)
src/autopick.c
src/cmd-item.c
src/cmd4.c
src/store.c
src/util.c

index 9b2daf6..dbe1a68 100644 (file)
@@ -6067,7 +6067,6 @@ void do_cmd_edit_autopick(void)
                tb->old_wid = tb->wid;
                tb->old_hgt = tb->hgt;
 
-               /* Get a command */
                key = inkey_special(TRUE);
 
                /* Special keys */
index cccad69..ecd9f83 100644 (file)
@@ -53,15 +53,10 @@ void do_cmd_inven(void)
                (p_ptr->total_weight * 100) / weight_limit());
 #endif
 
-
-       /* Get a command */
        prt(out_val, 0, 0);
-
-       /* Get a new command */
        command_new = inkey();
        screen_load();
 
-
        /* Process "Escape" */
        if (command_new == ESCAPE)
        {
@@ -112,15 +107,10 @@ void do_cmd_equip(void)
            (long int)((p_ptr->total_weight * 100) / weight_limit()));
 #endif
 
-
-       /* Get a command */
        prt(out_val, 0, 0);
-
-       /* Get a new command */
        command_new = inkey();
        screen_load();
 
-
        /* Process "Escape" */
        if (command_new == ESCAPE)
        {
index f240616..78af88a 100644 (file)
@@ -1204,7 +1204,6 @@ void do_cmd_messages(int num_now)
                prt(_("[ 'p' で更に古いもの, 'n' で更に新しいもの, '/' で検索, ESC で中断 ]",
                          "[Press 'p' for older, 'n' for newer, ..., or ESCAPE]"), hgt - 1, 0);
 
-               /* Get a command */
                skey = inkey_special(TRUE);
 
                /* Exit on Escape */
@@ -2581,7 +2580,6 @@ void do_cmd_macros(void)
                /* Prompt */
                prt(_("コマンド: ", "Command: "), 16, 0);
 
-               /* Get a command */
                i = inkey();
 
                /* Leave */
@@ -3261,7 +3259,6 @@ void do_cmd_visuals(void)
                                Term_putstr(0, 22, -1, TERM_WHITE, 
                                        _("コマンド (n/N/^N/a/A/^A/c/C/^C/v/V/^V): ", "Command (n/N/^N/a/A/^A/c/C/^C/v/V/^V): "));
 
-                               /* Get a command */
                                i = inkey();
 
                                /* All done */
@@ -3352,7 +3349,6 @@ void do_cmd_visuals(void)
                                Term_putstr(0, 22, -1, TERM_WHITE,
                                            _("コマンド (n/N/^N/a/A/^A/c/C/^C/v/V/^V): ", "Command (n/N/^N/a/A/^A/c/C/^C/v/V/^V): "));
 
-                               /* Get a command */
                                i = inkey();
 
                                /* All done */
@@ -3455,7 +3451,6 @@ void do_cmd_visuals(void)
                                            "Command (n/N/^N/a/A/^A/c/C/^C/l/L/^L/d/D/^D/v/V/^V): ");
 #endif
 
-                               /* Get a command */
                                i = inkey();
 
                                /* All done */
@@ -3725,8 +3720,6 @@ void do_cmd_colors(void)
                                Term_putstr(0, 14, -1, TERM_WHITE,
                                        _("コマンド (n/N/k/K/r/R/g/G/b/B): ", "Command (n/N/k/K/r/R/g/G/b/B): "));
 
-
-                               /* Get a command */
                                i = inkey();
 
                                /* All done */
index 15f02ed..0387ba2 100644 (file)
@@ -4700,7 +4700,6 @@ void do_cmd_store(void)
                /* Clear */
                clear_from(20 + xtra_stock);
 
-
                /* Basic commands */
                prt(_(" ESC) 建物から出る", " ESC) Exit from Building."), 21 + xtra_stock, 0);
 
@@ -4736,7 +4735,6 @@ void do_cmd_store(void)
                }
 
                /* 基本的なコマンドの追加表示 */
-
                prt(_("i/e) 持ち物/装備の一覧", "i/e) Inventry/Equipment list"), 21 + xtra_stock, 56);
 
                if (rogue_like_commands)
@@ -4751,7 +4749,6 @@ void do_cmd_store(void)
                /* Prompt */
                prt(_("コマンド:", "You may: "), 20 + xtra_stock, 0);
 
-               /* Get a command */
                request_command(TRUE);
 
                /* Process the command */
index f39da9f..ba81ba1 100644 (file)
@@ -4248,7 +4248,6 @@ static char inkey_from_menu(void)
                /* Place the cursor on the player */
                move_cursor_relative(p_ptr->y, p_ptr->x);
 
-               /* Get a command */
                sub_cmd = inkey();
                if ((sub_cmd == ' ') || (sub_cmd == 'x') || (sub_cmd == 'X') || (sub_cmd == '\r') || (sub_cmd == '\n'))
                {
@@ -4405,7 +4404,6 @@ void request_command(int shopping)
                        /* Activate "command mode" */
                        inkey_flag = TRUE;
 
-                       /* Get a command */
                        cmd = inkey();
 
                        if (!shopping && command_menu && ((cmd == '\r') || (cmd == '\n') || (cmd == 'x') || (cmd == 'X'))