• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionfd7776f2cbd47a24b2634d1e6049222aa1b8e680 (tree)
Time2018-12-03 23:52:59
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

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

Change Summary

Incremental Difference

--- a/src/birth.c
+++ b/src/birth.c
@@ -504,7 +504,6 @@ static void birth_quit(void)
504504 */
505505 static void show_help(cptr helpfile)
506506 {
507- /* Save screen */
508507 screen_save();
509508
510509 /* Peruse the help file */
--- a/src/bldg.c
+++ b/src/bldg.c
@@ -307,8 +307,6 @@ static void arena_comm(int cmd)
307307 }
308308 break;
309309 case BACT_ARENA_RULES:
310-
311- /* Save screen */
312310 screen_save();
313311
314312 /* Peruse the arena help file */
@@ -2306,7 +2304,6 @@ static void castle_quest(void)
23062304 */
23072305 static void town_history(void)
23082306 {
2309- /* Save screen */
23102307 screen_save();
23112308
23122309 /* Peruse the building help file */
--- a/src/cmd-item.c
+++ b/src/cmd-item.c
@@ -39,8 +39,6 @@ void do_cmd_inven(void)
3939
4040 /* Note that we are in "inventory" mode */
4141 if (easy_floor) command_wrk = (USE_INVEN);
42-
43- /* Save screen */
4442 screen_save();
4543
4644 /* Hack -- show empty slots */
--- a/src/cmd-read.c
+++ b/src/cmd-read.c
@@ -534,8 +534,6 @@ void do_cmd_read_scroll_aux(INVENTORY_IDX item, bool known)
534534 cptr q;
535535 char o_name[MAX_NLEN];
536536 char buf[1024];
537-
538- /* Save screen */
539537 screen_save();
540538
541539 q=format("book-%d_jp.txt",o_ptr->sval);
--- a/src/cmd4.c
+++ b/src/cmd4.c
@@ -2601,8 +2601,6 @@ void do_cmd_macros(void)
26012601 /* File type is "TEXT" */
26022602 FILE_TYPE(FILE_TYPE_TEXT);
26032603
2604-
2605- /* Save screen */
26062604 screen_save();
26072605
26082606
--- a/src/effects.c
+++ b/src/effects.c
@@ -4912,8 +4912,6 @@ bool choose_ele_attack(void)
49124912 msg_format(_("武器を持たないと魔法剣は使えない。", "You cannot use temporary branding with no weapon."));
49134913 return FALSE;
49144914 }
4915-
4916- /* Save screen */
49174915 screen_save();
49184916
49194917 num = (p_ptr->lev - 20) / 5;
@@ -4976,8 +4974,6 @@ bool choose_ele_attack(void)
49764974 bool choose_ele_immune(TIME_EFFECT immune_turn)
49774975 {
49784976 char choice;
4979-
4980- /* Save screen */
49814977 screen_save();
49824978
49834979 c_prt(TERM_RED, _(" a) 火炎", " a) Immune Fire"), 2, 14);
--- a/src/files.c
+++ b/src/files.c
@@ -5778,7 +5778,6 @@ bool show_file(bool show_version, cptr name, cptr what, int line, BIT_FLAGS mode
57785778 */
57795779 void do_cmd_help(void)
57805780 {
5781- /* Save screen */
57825781 screen_save();
57835782
57845783 /* Peruse the main help file */
@@ -6618,8 +6617,6 @@ static void show_info(void)
66186617
66196618 /* Return means "show on screen" */
66206619 if (!out_val[0]) break;
6621-
6622- /* Save screen */
66236620 screen_save();
66246621
66256622 /* Dump a character file */
--- a/src/main-win.c
+++ b/src/main-win.c
@@ -3901,7 +3901,6 @@ static void process_menus(WORD wCmd)
39013901 }
39023902 else
39033903 {
3904- /* Save Screen */
39053904 screen_save();
39063905
39073906 /* Clear screen */
--- a/src/object1.c
+++ b/src/object1.c
@@ -2953,7 +2953,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
29532953 /* Hack -- start out in "display" mode */
29542954 if (command_see)
29552955 {
2956- /* Save screen */
29572956 screen_save();
29582957 }
29592958
@@ -3133,8 +3132,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
31333132 {
31343133 /* Load screen */
31353134 screen_load();
3136-
3137- /* Save screen */
31383135 screen_save();
31393136 }
31403137
@@ -3221,7 +3218,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
32213218 /* Show the list */
32223219 else
32233220 {
3224- /* Save screen */
32253221 screen_save();
32263222
32273223 /* Flip flag */
@@ -3244,8 +3240,6 @@ bool get_item(OBJECT_IDX *cp, cptr pmt, cptr str, BIT_FLAGS mode)
32443240 {
32453241 /* Load screen */
32463242 screen_load();
3247-
3248- /* Save screen */
32493243 screen_save();
32503244 }
32513245
@@ -3977,7 +3971,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
39773971 /* Hack -- start out in "display" mode */
39783972 if (command_see)
39793973 {
3980- /* Save screen */
39813974 screen_save();
39823975 }
39833976
@@ -4284,8 +4277,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
42844277 {
42854278 /* Load screen */
42864279 screen_load();
4287-
4288- /* Save screen */
42894280 screen_save();
42904281 }
42914282
@@ -4345,8 +4336,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
43454336 {
43464337 /* Load screen */
43474338 screen_load();
4348-
4349- /* Save screen */
43504339 screen_save();
43514340 }
43524341
@@ -4434,7 +4423,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
44344423 /* Show the list */
44354424 else
44364425 {
4437- /* Save screen */
44384426 screen_save();
44394427
44404428 /* Flip flag */
@@ -4478,8 +4466,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
44784466 {
44794467 /* Load screen */
44804468 screen_load();
4481-
4482- /* Save screen */
44834469 screen_save();
44844470 }
44854471
@@ -4528,8 +4514,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
45284514 {
45294515 /* Load screen */
45304516 screen_load();
4531-
4532- /* Save screen */
45334517 screen_save();
45344518 }
45354519
@@ -4580,8 +4564,6 @@ bool get_item_floor(COMMAND_CODE *cp, cptr pmt, cptr str, BIT_FLAGS mode)
45804564 {
45814565 /* Load screen */
45824566 screen_load();
4583-
4584- /* Save screen */
45854567 screen_save();
45864568 }
45874569
--- a/src/racial.c
+++ b/src/racial.c
@@ -395,8 +395,6 @@ static bool choose_kamae(void)
395395 msg_print(_("混乱していて構えられない!", "Too confused."));
396396 return FALSE;
397397 }
398-
399- /* Save screen */
400398 screen_save();
401399 prt(_(" a) 構えをとく", " a) No form"), 2, 20);
402400
@@ -500,8 +498,6 @@ static bool choose_kata(void)
500498 msg_print(_("体が震えて構えられない!", "You are trembling with fear!"));
501499 return FALSE;
502500 }
503-
504- /* Save screen */
505501 screen_save();
506502 prt(_(" a) 型を崩す", " a) No Form"), 2, 20);
507503
--- a/src/xtra2.c
+++ b/src/xtra2.c
@@ -3191,8 +3191,6 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, cptr info)
31913191 {
31923192 int i;
31933193 OBJECT_IDX o_idx;
3194-
3195- /* Save screen */
31963194 screen_save();
31973195
31983196 /* Display */
Show on old repository browser