Lines Matching refs:nix
599 xchar gx,gy,nix,niy,chcnt;
887 nix = omx;
916 nidist = dist2(nix,niy,gx,gy);
919 nidist > (couldsee(nix,niy) ? 144 : 36) && appr == 1) appr = 0;
943 nix = nx;
956 if (mmoved==1 && (u.ux != nix || u.uy != niy) && itsstuck(mtmp))
959 if (((IS_ROCK(levl[nix][niy].typ) && may_dig(nix,niy)) ||
960 closed_door(nix, niy)) &&
962 if (closed_door(nix, niy)) {
966 } else if (IS_TREE(levl[nix][niy].typ)) {
988 nix = mtmp->mux;
991 if (nix == u.ux && niy == u.uy) {
1003 (nix == mtmp->mux && niy == mtmp->muy)) {
1006 mtmp2 = m_at(nix,niy);
1008 notonhead = mtmp2 && (nix != mtmp2->mx || niy != mtmp2->my);
1026 if (!m_in_out_region(mtmp,nix,niy))
1029 place_monster(mtmp, nix, niy);