Searched refs:nix (Results 1 - 6 of 6) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Ddogmove.c490 xchar nix, niy; /* position mtmp is (considering) moving to */ local
525 nix = omx; /* set before newdogpos */
598 nidist = GDIST(nix,niy);
679 nix = nx;
701 ((omx == nix && omy == niy && !rn2(3))
704 nix = nx;
713 if (nix != omx || niy != omy) {
725 if (!m_in_out_region(mtmp, nix, niy))
727 if (((IS_ROCK(levl[nix][niy].typ) && may_dig(nix,ni
[all...]
H A Dmonmove.c599 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, ni
[all...]
H A Dpriest.c31 register xchar nx,ny,nix,niy; local
46 nix = omx;
80 (appr && GDIST(nx,ny) < GDIST(nix,niy))) {
81 nix = nx;
87 nix == omx && niy == omy && onlineu(omx,omy)) {
94 if(nix != omx || niy != omy) {
96 place_monster(mtmp, nix, niy);
97 newsym(nix,niy);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Ddogmove.c490 xchar nix, niy; /* position mtmp is (considering) moving to */ local
525 nix = omx; /* set before newdogpos */
598 nidist = GDIST(nix,niy);
679 nix = nx;
701 ((omx == nix && omy == niy && !rn2(3))
704 nix = nx;
713 if (nix != omx || niy != omy) {
725 if (!m_in_out_region(mtmp, nix, niy))
727 if (((IS_ROCK(levl[nix][niy].typ) && may_dig(nix,ni
[all...]
H A Dmonmove.c599 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, ni
[all...]
H A Dpriest.c31 register xchar nx,ny,nix,niy; local
46 nix = omx;
80 (appr && GDIST(nx,ny) < GDIST(nix,niy))) {
81 nix = nx;
87 nix == omx && niy == omy && onlineu(omx,omy)) {
94 if(nix != omx || niy != omy) {
96 place_monster(mtmp, nix, niy);
97 newsym(nix,niy);

Completed in 73 milliseconds