/src/games/hack/ |
hack.dog.c | 199 xchar cnt, chcnt, nix, niy; local in function:dog_move 252 nix = omx; 358 nix = omx; 406 nix = nx; 417 if (cansee(nix, niy)) 439 nearer -= GDIST(nix, niy); 443 ((omx == nix && omy == niy && !rn2(3)) 446 nix = nx; 455 if (nix != omx || niy != omy) { 460 mtmp->mx = nix; [all...] |
hack.mon.c | 321 xchar gx, gy, nix, niy, chcnt; local in function:m_move 461 nix = omx; 481 int d2 = DIST(nix, niy, gx, gy); 485 nearer = (DIST(nx, ny, gx, gy) < DIST(nix, niy, gx, gy)); 490 nix = nx; 499 mtmp2 = m_at(nix, niy); 511 mtmp->mx = nix;
|
hack.shk.c | 942 xchar gx, gy, omx, omy, nx, ny, nix, niy; local in function:shk_move 1035 nix = omx; 1059 nix = nx; 1068 (appr && (zz = GDIST(nix, niy)) && zz > GDIST(nx, ny)) 1070 (appr && GDIST(nx, ny) < GDIST(nix, niy)) 1073 nix = nx; 1079 if (nix != omx || niy != omy) { 1081 mtmp = m_at(nix, niy); 1092 shkp->mx = nix;
|