変愚蛮怒のメインリポジトリです
Revision | 23527b1ed4de80b9c7fe962a623e924fc38e4fb5 (tree) |
---|---|
Time | 2019-06-12 08:33:02 |
Author | deskull <deskull@user...> |
Commiter | deskull |
[Refactor] #39076 冗長なコメントを削除 (/* Extract the location */)
@@ -561,7 +561,6 @@ static int next_to_corr(POSITION y1, POSITION x1) | ||
561 | 561 | /* Scan adjacent grids */ |
562 | 562 | for (i = 0; i < 4; i++) |
563 | 563 | { |
564 | - /* Extract the location */ | |
565 | 564 | y = y1 + ddy_ddd[i]; |
566 | 565 | x = x1 + ddx_ddd[i]; |
567 | 566 | g_ptr = ¤t_floor_ptr->grid_array[y][x]; |
@@ -183,10 +183,8 @@ static bool breath_direct(POSITION y1, POSITION x1, POSITION y2, POSITION x2, PO | ||
183 | 183 | |
184 | 184 | for (i = 0; i < grids; i++) |
185 | 185 | { |
186 | - /* Extract the location */ | |
187 | 186 | y = gy[i]; |
188 | 187 | x = gx[i]; |
189 | - | |
190 | 188 | if ((y == y2) && (x == x2)) hit2 = TRUE; |
191 | 189 | if (player_bold(y, x)) hityou = TRUE; |
192 | 190 | } |
@@ -343,7 +343,6 @@ static void build_vault(POSITION yval, POSITION xval, POSITION ymax, POSITION xm | ||
343 | 343 | /* Flip / rotate */ |
344 | 344 | coord_trans(&i, &j, xoffset, yoffset, transno); |
345 | 345 | |
346 | - /* Extract the location */ | |
347 | 346 | if (transno % 2 == 0) |
348 | 347 | { |
349 | 348 | /* no swap of x/y */ |
@@ -550,7 +549,6 @@ static void build_vault(POSITION yval, POSITION xval, POSITION ymax, POSITION xm | ||
550 | 549 | /* Flip / rotate */ |
551 | 550 | coord_trans(&i, &j, xoffset, yoffset, transno); |
552 | 551 | |
553 | - /* Extract the location */ | |
554 | 552 | if (transno % 2 == 0) |
555 | 553 | { |
556 | 554 | /* no swap of x/y */ |
@@ -6176,7 +6176,6 @@ bool project(MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, HIT_POINT da | ||
6176 | 6176 | /* Dump everything with this radius */ |
6177 | 6177 | for (i = gm[t]; i < gm[t+1]; i++) |
6178 | 6178 | { |
6179 | - /* Extract the location */ | |
6180 | 6179 | y = gy[i]; |
6181 | 6180 | x = gx[i]; |
6182 | 6181 |
@@ -6221,7 +6220,6 @@ bool project(MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, HIT_POINT da | ||
6221 | 6220 | /* Erase the explosion drawn above */ |
6222 | 6221 | for (i = 0; i < grids; i++) |
6223 | 6222 | { |
6224 | - /* Extract the location */ | |
6225 | 6223 | y = gy[i]; |
6226 | 6224 | x = gx[i]; |
6227 | 6225 |
@@ -1691,7 +1691,6 @@ bool earthquake_aux(POSITION cy, POSITION cx, POSITION r, MONSTER_IDX m_idx) | ||
1691 | 1691 | { |
1692 | 1692 | for (dx = -r; dx <= r; dx++) |
1693 | 1693 | { |
1694 | - /* Extract the location */ | |
1695 | 1694 | yy = cy + dy; |
1696 | 1695 | xx = cx + dx; |
1697 | 1696 |
@@ -1834,7 +1833,6 @@ bool earthquake_aux(POSITION cy, POSITION cx, POSITION r, MONSTER_IDX m_idx) | ||
1834 | 1833 | { |
1835 | 1834 | for (dx = -r; dx <= r; dx++) |
1836 | 1835 | { |
1837 | - /* Extract the location */ | |
1838 | 1836 | yy = cy + dy; |
1839 | 1837 | xx = cx + dx; |
1840 | 1838 |
@@ -1973,7 +1971,6 @@ bool earthquake_aux(POSITION cy, POSITION cx, POSITION r, MONSTER_IDX m_idx) | ||
1973 | 1971 | { |
1974 | 1972 | for (dx = -r; dx <= r; dx++) |
1975 | 1973 | { |
1976 | - /* Extract the location */ | |
1977 | 1974 | yy = cy + dy; |
1978 | 1975 | xx = cx + dx; |
1979 | 1976 |
@@ -2029,7 +2026,6 @@ bool earthquake_aux(POSITION cy, POSITION cx, POSITION r, MONSTER_IDX m_idx) | ||
2029 | 2026 | { |
2030 | 2027 | for (dx = -r; dx <= r; dx++) |
2031 | 2028 | { |
2032 | - /* Extract the location */ | |
2033 | 2029 | yy = cy + dy; |
2034 | 2030 | xx = cx + dx; |
2035 | 2031 |