HomeSort by: relevance | last modified time | path
    Searched defs:nearer (Results 1 - 2 of 2) sorted by relevancy

  /src/games/hack/
hack.dog.c 192 int nx, ny, omx, omy, appr, nearer, j; local in function:dog_move
438 nearer = GDIST(nx, ny);
439 nearer -= GDIST(nix, niy);
440 nearer *= appr;
441 if ((nearer == 0 && !rn2(++chcnt)) || nearer < 0 ||
442 (nearer > 0 && !whappr &&
448 if (nearer < 0)
hack.mon.c 320 int nx, ny, omx, omy, appr, nearer, cnt, i, j; local in function:m_move
482 nearer = (d1 < d2);
485 nearer = (DIST(nx, ny, gx, gy) < DIST(nix, niy, gx, gy));
487 if ((appr == 1 && nearer) || (appr == -1 && !nearer) ||

Completed in 50 milliseconds