• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision86b26dfbb920b262deccf6b93cc281f92129d2df (tree)
Time2019-01-11 13:11:17
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 型の置換。 / Type replacement.

Change Summary

Incremental Difference

--- a/src/cave.c
+++ b/src/cave.c
@@ -161,22 +161,22 @@ bool los(POSITION y1, POSITION x1, POSITION y2, POSITION x2)
161161 POSITION dx, dy;
162162
163163 /* Absolute */
164- int ax, ay;
164+ POSITION ax, ay;
165165
166166 /* Signs */
167- int sx, sy;
167+ POSITION sx, sy;
168168
169169 /* Fractions */
170- int qx, qy;
170+ POSITION qx, qy;
171171
172172 /* Scanners */
173- int tx, ty;
173+ POSITION tx, ty;
174174
175175 /* Scale factors */
176- int f1, f2;
176+ POSITION f1, f2;
177177
178178 /* Slope, or 1/Slope, of LOS */
179- int m;
179+ POSITION m;
180180
181181
182182 /* Extract the offset */
@@ -1652,13 +1652,13 @@ void lite_spot(POSITION y, POSITION x)
16521652 */
16531653 void prt_map(void)
16541654 {
1655- int x, y;
1656- int v;
1655+ POSITION x, y;
1656+ int v;
16571657
16581658 /* map bounds */
1659- s16b xmin, xmax, ymin, ymax;
1659+ POSITION xmin, xmax, ymin, ymax;
16601660
1661- int wid, hgt;
1661+ TERM_LEN wid, hgt;
16621662
16631663 Term_get_size(&wid, &hgt);
16641664
Show on old repository browser