Lines Matching defs:ny
320 int nx, ny, omx, omy, appr, nearer, cnt, i, j;
472 ny = poss[i].y;
474 if (nx == mtmp->mtrack[j].x && ny == mtmp->mtrack[j].y)
480 int d1 = DIST(nx, ny, gx, gy);
485 nearer = (DIST(nx, ny, gx, gy) < DIST(nix, niy, gx, gy));
491 niy = ny;
578 int x, y, nx, ny, cnt = 0, ntyp;
595 for (ny = y - 1; ny <= y + 1; ny++)
596 if (nx != x || ny != y)
597 if (isok(nx, ny))
598 if (!IS_ROCK(ntyp = levl[nx][ny].typ))
599 if (!(nx != x && ny != y && (nowtyp == DOOR || ntyp == DOOR)))
602 if (nx == u.ux && ny == u.uy) {
606 } else if ((mtmp = m_at(nx, ny)) != NULL) {
616 if (sobj_at(CLOVE_OF_GARLIC, nx, ny)) {
621 if (sobj_at(SCR_SCARE_MONSTER, nx, ny) ||
622 (!mon->mpeaceful && sengr_at("Elbereth", nx, ny))) {
627 if (sobj_at(ENORMOUS_ROCK, nx, ny)) {
632 if (!Invis && online(nx, ny)) {
645 struct trap *ttmp = t_at(nx, ny);
657 poss[cnt].y = ny;