• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisione57f6b9f4530cc21dde1539f02aeb3a8a4d56128 (tree)
Time2019-03-14 20:02:01
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

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

Change Summary

Incremental Difference

--- a/src/cmd4.c
+++ b/src/cmd4.c
@@ -4470,7 +4470,6 @@ static FEAT_IDX collect_features(int grp_cur, FEAT_IDX *feat_idx, BIT_FLAGS8 mod
44704470 /* Check every feature */
44714471 for (i = 0; i < max_f_idx; i++)
44724472 {
4473- /* Access the index */
44744473 feature_type *f_ptr = &f_info[i];
44754474
44764475 /* Skip empty index */
@@ -7100,13 +7099,8 @@ static void display_feature_list(int col, int row, int per_page, FEAT_IDX *feat_
71007099 for (i = 0; i < per_page && (feat_idx[feat_top + i] >= 0); i++)
71017100 {
71027101 TERM_COLOR attr;
7103-
7104- /* Get the index */
71057102 FEAT_IDX f_idx = feat_idx[feat_top + i];
7106-
7107- /* Access the index */
71087103 feature_type *f_ptr = &f_info[f_idx];
7109-
71107104 int row_i = row + i;
71117105
71127106 /* Choose a color */
--- a/src/dungeon.c
+++ b/src/dungeon.c
@@ -3435,7 +3435,6 @@ static void process_world(void)
34353435 /* Check every feature */
34363436 for (i = 1; i < max_f_idx; i++)
34373437 {
3438- /* Access the index */
34393438 feature_type *f_ptr = &f_info[i];
34403439
34413440 /* Skip empty index */
--- a/src/object1.c
+++ b/src/object1.c
@@ -2189,9 +2189,7 @@ COMMAND_CODE show_inven(int target_item, BIT_FLAGS mode)
21892189 /* Output each entry */
21902190 for (j = 0; j < k; j++)
21912191 {
2192- /* Get the index */
21932192 i = out_index[j];
2194-
21952193 o_ptr = &inventory[i];
21962194
21972195 /* Clear the line */
@@ -2361,9 +2359,7 @@ COMMAND_CODE show_equip(int target_item, BIT_FLAGS mode)
23612359 /* Output each entry */
23622360 for (j = 0; j < k; j++)
23632361 {
2364- /* Get the index */
23652362 i = out_index[j];
2366-
23672363 o_ptr = &inventory[i];
23682364
23692365 /* Clear the line */
@@ -3590,9 +3586,7 @@ COMMAND_CODE show_floor(int target_item, POSITION y, POSITION x, TERM_LEN *min_w
35903586 /* Output each entry */
35913587 for (j = 0; j < k; j++)
35923588 {
3593- /* Get the index */
35943589 m = floor_list[out_index[j]];
3595-
35963590 o_ptr = &current_floor_ptr->o_list[m];
35973591
35983592 /* Clear the line */
--- a/src/object2.c
+++ b/src/object2.c
@@ -603,7 +603,6 @@ OBJECT_IDX get_obj_num(DEPTH level)
603603 /* Default */
604604 table[i].prob3 = 0;
605605
606- /* Access the index */
607606 k_idx = table[i].index;
608607
609608 /* Access the actual kind */
Show on old repository browser