OSDN Git Service

[Refactor] #37353 コメント整理 / Refactor comments.
authorDeskull <deskull@users.sourceforge.jp>
Mon, 3 Dec 2018 14:57:22 +0000 (23:57 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Mon, 3 Dec 2018 14:57:22 +0000 (23:57 +0900)
src/birth.c
src/bldg.c
src/cmd-item.c
src/cmd-read.c
src/cmd4.c
src/effects.c
src/files.c
src/main-win.c
src/object1.c
src/xtra2.c

index 6b76aff..9d68994 100644 (file)
@@ -508,8 +508,6 @@ static void show_help(cptr helpfile)
 
        /* Peruse the help file */
        (void)show_file(TRUE, helpfile, NULL, 0, 0);
-
-       /* Load screen */
        screen_load();
 }
 
index 61f17a3..7a500f8 100644 (file)
@@ -311,8 +311,6 @@ static void arena_comm(int cmd)
 
                        /* Peruse the arena help file */
                        (void)show_file(TRUE, _("arena_j.txt", "arena.txt"), NULL, 0, 0);
-
-                       /* Load screen */
                        screen_load();
 
                        break;
@@ -2308,8 +2306,6 @@ static void town_history(void)
 
        /* Peruse the building help file */
        (void)show_file(TRUE, _("jbldg.txt", "bldg.txt"), NULL, 0, 0);
-
-       /* Load screen */
        screen_load();
 }
 
index f384a06..def0cb5 100644 (file)
@@ -66,8 +66,6 @@ void do_cmd_inven(void)
 
        /* Get a new command */
        command_new = inkey();
-
-       /* Load screen */
        screen_load();
 
 
index 87be054..631dae4 100644 (file)
@@ -546,8 +546,6 @@ void do_cmd_read_scroll_aux(INVENTORY_IDX item, bool known)
 \r
                /* Peruse the help file */\r
                (void)show_file(TRUE, buf, o_name, 0, 0);\r
-\r
-               /* Load screen */\r
                screen_load();\r
 \r
                used_up=FALSE;\r
index 8ce6401..c34eb7a 100644 (file)
@@ -2965,8 +2965,6 @@ void do_cmd_macros(void)
                /* Flush messages */
                msg_print(NULL);
        }
-
-       /* Load screen */
        screen_load();
 }
 
index d1dd584..071a828 100644 (file)
@@ -4962,7 +4962,6 @@ bool choose_ele_attack(void)
                screen_load();
                return FALSE;
        }
-       /* Load screen */
        screen_load();
        return TRUE;
 }
@@ -5005,7 +5004,6 @@ bool choose_ele_immune(TIME_EFFECT immune_turn)
                screen_load();
                return FALSE;
        }
-       /* Load screen */
        screen_load();
        return TRUE;
 }
index a7fcf9b..cbda30f 100644 (file)
@@ -5782,8 +5782,6 @@ void do_cmd_help(void)
 
        /* Peruse the main help file */
        (void)show_file(TRUE, _("jhelp.hlp", "help.hlp"), NULL, 0, 0);
-
-       /* Load screen */
        screen_load();
 }
 
@@ -6621,8 +6619,6 @@ static void show_info(void)
 
                /* Dump a character file */
                (void)file_character(out_val);
-
-               /* Load screen */
                screen_load();
        }
 
index d31b397..2dd6cfa 100644 (file)
@@ -3914,8 +3914,6 @@ static void process_menus(WORD wCmd)
 \r
                                /* Forget the high score fd */\r
                                highscore_fd = -1;\r
-\r
-                               /* Load screen */\r
                                screen_load();\r
 \r
                                /* Hack - Flush it */\r
index 5392afb..dca9f71 100644 (file)
@@ -3130,7 +3130,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
                                /* Hack -- Fix screen */
                                if (command_see)
                                {
-                                       /* Load screen */
                                        screen_load();
                                        screen_save();
                                }
@@ -3210,8 +3209,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
                                {
                                        /* Flip flag */
                                        command_see = FALSE;
-
-                                       /* Load screen */
                                        screen_load();
                                }
 
@@ -3238,7 +3235,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
                                /* Hack -- Fix screen */
                                if (command_see)
                                {
-                                       /* Load screen */
                                        screen_load();
                                        screen_save();
                                }
@@ -3472,7 +3468,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
        /* Fix the screen if necessary */
        if (command_see)
        {
-               /* Load screen */
                screen_load();
 
                /* Hack -- Cancel "display" */
@@ -4275,7 +4270,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
                                /* Hack -- Fix screen */
                                if (command_see)
                                {
-                                       /* Load screen */
                                        screen_load();
                                        screen_save();
                                }
@@ -4334,7 +4328,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
                                /* Hack -- Fix screen */
                                if (command_see)
                                {
-                                       /* Load screen */
                                        screen_load();
                                        screen_save();
                                }
@@ -4415,8 +4408,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
                                {
                                        /* Flip flag */
                                        command_see = FALSE;
-
-                                       /* Load screen */
                                        screen_load();
                                }
 
@@ -4464,7 +4455,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
                                /* Hack -- Fix screen */
                                if (command_see)
                                {
-                                       /* Load screen */
                                        screen_load();
                                        screen_save();
                                }
@@ -4512,7 +4502,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
                                /* Hack -- Fix screen */
                                if (command_see)
                                {
-                                       /* Load screen */
                                        screen_load();
                                        screen_save();
                                }
@@ -4562,7 +4551,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
                                /* Hack -- Fix screen */
                                if (command_see)
                                {
-                                       /* Load screen */
                                        screen_load();
                                        screen_save();
                                }
@@ -4826,7 +4814,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
        /* Fix the screen if necessary */
        if (command_see)
        {
-               /* Load screen */
                screen_load();
 
                /* Hack -- Cancel "display" */
index 9a0f433..e1d6856 100644 (file)
@@ -3211,8 +3211,6 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, cptr info)
 
                                /* Wait */
                                query = inkey();
-
-                               /* Load screen */
                                screen_load();
 
                                /* Exit unless 'Enter' */