/src/games/hack/ |
hack.dog.c | 192 int nx, ny, omx, omy, appr, nearer, j; local in function:dog_move 325 appr = (udist >= 9) ? 1 : (mtmp->mflee) ? -1 : 0; 332 appr = 1; 335 if (appr == 0) { 339 appr = 1; 346 appr = 1; /* gtyp != UNDEF */ 348 appr = 0; 440 nearer *= appr;
|
hack.mon.c | 320 int nx, ny, omx, omy, appr, nearer, cnt, i, j; local in function:m_move 394 appr = 1; 396 appr = -1; 399 appr = 0; 404 if (msym == 'L' && appr == 1 && mtmp->mgold > u.ugold) 405 appr = -1; 453 if (mind < SRCHRADIUS && appr == -1) { 458 appr = 1; 487 if ((appr == 1 && nearer) || (appr == -1 && !nearer) | [all...] |
hack.shk.c | 943 schar appr, i; local in function:shk_move 981 appr = 1; 1025 appr = gx = gy = 0; 1033 appr = 0; 1066 if ((!appr && !rn2(++chcnt)) || 1068 (appr && (zz = GDIST(nix, niy)) && zz > GDIST(nx, ny)) 1070 (appr && GDIST(nx, ny) < GDIST(nix, niy))
|