Home
last modified time | relevance | path

Searched refs:DIST (Results 1 – 15 of 15) sorted by relevance

/dragonfly/games/hack/
H A Dhack.mon.c430 if ((dd = DIST(omx, omy, gold->gx, gold->gy)) < mind) { in m_move()
442 if ((dd = DIST(omx, omy, otmp->ox, otmp->oy)) < mind) { in m_move()
475 int d1 = DIST(nx, ny, gx, gy); in m_move()
476 int d2 = DIST(nix, niy, gx, gy); in m_move()
480 nearer = (DIST(nx, ny, gx, gy) < DIST(nix, niy, gx, gy)); in m_move()
H A Dhack.unix.c467 d1 = DIST(fx, fy, md->mx, md->my); in mdrush()
471 d2 = DIST(fx + dx, fy + dy, md->mx, md->my); in mdrush()
H A Dhack.c297 DIST(u.ux + u.dx, u.uy + u.dy, uchain->ox, uchain->oy) > 2) { in domove()
302 if (DIST(u.ux + u.dx, u.uy + u.dy, uball->ox, uball->oy) < 3) { in domove()
602 i = DIST(x, y, u.ux + u.dx, u.uy + u.dy); in lookaround()
605 if (corrct == 1 && DIST(x, y, x0, y0) != 1) in lookaround()
H A Dhack.h179 #define DIST(x1,y1,x2,y2) (((x1)-(x2))*((x1)-(x2)) + ((y1)-(y2))*((y1)-(y2))) macro
H A Dhack.fight.c179 if (DIST(mon->mx, mon->my, mtmp->mx, mtmp->my) < 3) in fightm()
/dragonfly/contrib/file/magic/Magdir/
H A Dgentoo13 0 string DIST
27 >>&0 string DIST
/dragonfly/sys/vfs/hammer2/zlib/
H A Dhammer2_zlib_inflate.h35 DIST, /* i: waiting for distance code */ enumerator
H A Dhammer2_zlib_inflate.c883 state->mode = DIST; in inflate()
884 case DIST: in inflate()
/dragonfly/usr.sbin/makefs/hammer2/zlib/
H A Dhammer2_zlib_inflate.h35 DIST, /* i: waiting for distance code */ enumerator
H A Dhammer2_zlib_inflate.c883 state->mode = DIST; in inflate()
884 case DIST: in inflate()
/dragonfly/sbin/hammer2/zlib/
H A Dhammer2_zlib_inflate.h35 DIST, /* i: waiting for distance code */ enumerator
H A Dhammer2_zlib_inflate.c888 state->mode = DIST; in inflate()
890 case DIST: in inflate()
/dragonfly/contrib/zlib-1.2/
H A Dinflate.h43 DIST, /* i: waiting for distance code */ enumerator
H A Dinflate.c1102 state->mode = DIST;
1103 case DIST:
/dragonfly/sys/net/
H A Dzlib.c4652 DIST, /* i: get distance next */ enumerator
4791 c->mode = DIST;
4792 case DIST: /* i: get distance next */