HomeSort by: relevance | last modified time | path
    Searched defs:omx (Results 1 - 3 of 3) sorted by relevancy

  /src/games/hack/
hack.dog.c 192 int nx, ny, omx, omy, appr, nearer, j; local in function:dog_move
205 #define DDIST(x,y) ((x-omx)*(x-omx) + (y-omy)*(y-omy))
209 omx = mtmp->mx;
217 if (cansee(omx, omy))
222 if (cansee(omx, omy))
229 dogroom = inroom(omx, omy);
231 udist = dist(omx, omy);
249 if ((obj = o_at(omx, omy)) != NULL)
252 nix = omx;
    [all...]
hack.mon.c 320 int nx, ny, omx, omy, appr, nearer, cnt, i, j; local in function:m_move
400 omx = mtmp->mx;
415 mroom = inroom(omx, omy);
417 cp = gettrack(omx, omy);
435 if ((dd = DIST(omx, omy, gold->gx, gold->gy)) < mind) {
447 if ((dd = DIST(omx, omy, otmp->ox, otmp->oy)) < mind) {
454 if (dist(omx, omy) < 10) {
461 nix = omx;
515 mtmp->mtrack[0].x = omx;
hack.shk.c 942 xchar gx, gy, omx, omy, nx, ny, nix, niy; local in function:shk_move
952 omx = shkp->mx;
955 if ((udist = dist(omx, omy)) < 3) {
980 shkroom = inroom(omx, omy);
984 satdoor = (gx == omx && gy == omy);
994 if (shkp->mcansee && !Invis && cansee(omx, omy)) {
1021 && GDIST(omx, omy) < 3) {
1022 if (!badinv && !online(omx, omy))
1029 if (omx == gx && omy == gy)
1035 nix = omx;
    [all...]

Completed in 12 milliseconds