• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision1836893b03f0c01746b0cebebd00019c6c663270 (tree)
Time2018-12-03 23:57:22
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 コメント整理 / Refactor comments.

Change Summary

Incremental Difference

--- a/src/birth.c
+++ b/src/birth.c
@@ -508,8 +508,6 @@ static void show_help(cptr helpfile)
508508
509509 /* Peruse the help file */
510510 (void)show_file(TRUE, helpfile, NULL, 0, 0);
511-
512- /* Load screen */
513511 screen_load();
514512 }
515513
--- a/src/bldg.c
+++ b/src/bldg.c
@@ -311,8 +311,6 @@ static void arena_comm(int cmd)
311311
312312 /* Peruse the arena help file */
313313 (void)show_file(TRUE, _("arena_j.txt", "arena.txt"), NULL, 0, 0);
314-
315- /* Load screen */
316314 screen_load();
317315
318316 break;
@@ -2308,8 +2306,6 @@ static void town_history(void)
23082306
23092307 /* Peruse the building help file */
23102308 (void)show_file(TRUE, _("jbldg.txt", "bldg.txt"), NULL, 0, 0);
2311-
2312- /* Load screen */
23132309 screen_load();
23142310 }
23152311
--- a/src/cmd-item.c
+++ b/src/cmd-item.c
@@ -66,8 +66,6 @@ void do_cmd_inven(void)
6666
6767 /* Get a new command */
6868 command_new = inkey();
69-
70- /* Load screen */
7169 screen_load();
7270
7371
--- a/src/cmd-read.c
+++ b/src/cmd-read.c
@@ -546,8 +546,6 @@ void do_cmd_read_scroll_aux(INVENTORY_IDX item, bool known)
546546
547547 /* Peruse the help file */
548548 (void)show_file(TRUE, buf, o_name, 0, 0);
549-
550- /* Load screen */
551549 screen_load();
552550
553551 used_up=FALSE;
--- a/src/cmd4.c
+++ b/src/cmd4.c
@@ -2965,8 +2965,6 @@ void do_cmd_macros(void)
29652965 /* Flush messages */
29662966 msg_print(NULL);
29672967 }
2968-
2969- /* Load screen */
29702968 screen_load();
29712969 }
29722970
--- a/src/effects.c
+++ b/src/effects.c
@@ -4962,7 +4962,6 @@ bool choose_ele_attack(void)
49624962 screen_load();
49634963 return FALSE;
49644964 }
4965- /* Load screen */
49664965 screen_load();
49674966 return TRUE;
49684967 }
@@ -5005,7 +5004,6 @@ bool choose_ele_immune(TIME_EFFECT immune_turn)
50055004 screen_load();
50065005 return FALSE;
50075006 }
5008- /* Load screen */
50095007 screen_load();
50105008 return TRUE;
50115009 }
--- a/src/files.c
+++ b/src/files.c
@@ -5782,8 +5782,6 @@ void do_cmd_help(void)
57825782
57835783 /* Peruse the main help file */
57845784 (void)show_file(TRUE, _("jhelp.hlp", "help.hlp"), NULL, 0, 0);
5785-
5786- /* Load screen */
57875785 screen_load();
57885786 }
57895787
@@ -6621,8 +6619,6 @@ static void show_info(void)
66216619
66226620 /* Dump a character file */
66236621 (void)file_character(out_val);
6624-
6625- /* Load screen */
66266622 screen_load();
66276623 }
66286624
--- a/src/main-win.c
+++ b/src/main-win.c
@@ -3914,8 +3914,6 @@ static void process_menus(WORD wCmd)
39143914
39153915 /* Forget the high score fd */
39163916 highscore_fd = -1;
3917-
3918- /* Load screen */
39193917 screen_load();
39203918
39213919 /* Hack - Flush it */
--- a/src/object1.c
+++ b/src/object1.c
@@ -3130,7 +3130,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
31303130 /* Hack -- Fix screen */
31313131 if (command_see)
31323132 {
3133- /* Load screen */
31343133 screen_load();
31353134 screen_save();
31363135 }
@@ -3210,8 +3209,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
32103209 {
32113210 /* Flip flag */
32123211 command_see = FALSE;
3213-
3214- /* Load screen */
32153212 screen_load();
32163213 }
32173214
@@ -3238,7 +3235,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
32383235 /* Hack -- Fix screen */
32393236 if (command_see)
32403237 {
3241- /* Load screen */
32423238 screen_load();
32433239 screen_save();
32443240 }
@@ -3472,7 +3468,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
34723468 /* Fix the screen if necessary */
34733469 if (command_see)
34743470 {
3475- /* Load screen */
34763471 screen_load();
34773472
34783473 /* Hack -- Cancel "display" */
@@ -4275,7 +4270,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
42754270 /* Hack -- Fix screen */
42764271 if (command_see)
42774272 {
4278- /* Load screen */
42794273 screen_load();
42804274 screen_save();
42814275 }
@@ -4334,7 +4328,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
43344328 /* Hack -- Fix screen */
43354329 if (command_see)
43364330 {
4337- /* Load screen */
43384331 screen_load();
43394332 screen_save();
43404333 }
@@ -4415,8 +4408,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
44154408 {
44164409 /* Flip flag */
44174410 command_see = FALSE;
4418-
4419- /* Load screen */
44204411 screen_load();
44214412 }
44224413
@@ -4464,7 +4455,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
44644455 /* Hack -- Fix screen */
44654456 if (command_see)
44664457 {
4467- /* Load screen */
44684458 screen_load();
44694459 screen_save();
44704460 }
@@ -4512,7 +4502,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
45124502 /* Hack -- Fix screen */
45134503 if (command_see)
45144504 {
4515- /* Load screen */
45164505 screen_load();
45174506 screen_save();
45184507 }
@@ -4562,7 +4551,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
45624551 /* Hack -- Fix screen */
45634552 if (command_see)
45644553 {
4565- /* Load screen */
45664554 screen_load();
45674555 screen_save();
45684556 }
@@ -4826,7 +4814,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
48264814 /* Fix the screen if necessary */
48274815 if (command_see)
48284816 {
4829- /* Load screen */
48304817 screen_load();
48314818
48324819 /* Hack -- Cancel "display" */
--- a/src/xtra2.c
+++ b/src/xtra2.c
@@ -3211,8 +3211,6 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, cptr info)
32113211
32123212 /* Wait */
32133213 query = inkey();
3214-
3215- /* Load screen */
32163214 screen_load();
32173215
32183216 /* Exit unless 'Enter' */
Show on old repository browser