Lines Matching refs:fx
449 int fx = u.ux, fy = u.uy; in mdrush() local
451 if (dist(fx, fy) < dist(doors[tmp].x, doors[tmp].y)) { in mdrush()
452 fx = doors[tmp].x; in mdrush()
460 tmp = fx; in mdrush()
461 fx = md->mx; in mdrush()
467 while (fx != md->mx || fy != md->my) { in mdrush()
468 int dx, dy, nfx = fx, nfy = fy, d1, in mdrush()
471 tmp_at(fx, fy); in mdrush()
472 d1 = DIST(fx, fy, md->mx, md->my); in mdrush()
476 d2 = DIST(fx + dx, fy + dy, md->mx, md->my); in mdrush()
479 nfx = fx + dx; in mdrush()
483 if (nfx != fx || nfy != fy) { in mdrush()
484 fx = nfx; in mdrush()
488 md->mx = fx; in mdrush()