Home | History | Annotate | Download | only in hack

Lines Matching refs:ux

223 					 (struct permonst *) 0, u.ux, u.uy);
250 if ((mtmp = m_at(u.ux + i, u.uy + j)) != NULL)
298 int oux = u.ux, ouy = u.uy;
303 int uroom = inroom(u.ux, u.uy);
305 if (uroom != inroom(u.ux, u.uy))
323 if (ttmp->tx != u.ux || ttmp->ty != u.uy)
347 if (gtmp->gx != u.ux || gtmp->gy != u.uy)
375 if (obj->ox == u.ux && obj->oy == u.uy)
514 setworn(mkobj_at(CHAIN_SYM, u.ux, u.uy), W_CHAIN);
515 setworn(mkobj_at(BALL_SYM, u.ux, u.uy), W_BALL);
553 if (u.uswallow || !xdnstair || levl[u.ux][u.uy].typ == CORR ||
554 !levl[u.ux][u.uy].lit) {
572 if (levl[u.ux][u.uy].typ == CORR) {
575 } else if (levl[u.ux][u.uy].lit) {
587 if (levl[u.ux][u.uy].lit == on)
589 if (levl[u.ux][u.uy].typ == DOOR) {
590 if (IS_ROOM(levl[u.ux][u.uy + 1].typ))
592 else if (IS_ROOM(levl[u.ux][u.uy - 1].typ))
596 if (IS_ROOM(levl[u.ux + 1][u.uy].typ))
597 zx = u.ux + 1;
598 else if (IS_ROOM(levl[u.ux - 1][u.uy].typ))
599 zx = u.ux - 1;
601 zx = u.ux;
603 zx = u.ux;
606 for (seelx = u.ux; (num = levl[seelx - 1][zy].typ) != CORR && num != 0;
608 for (seehx = u.ux; (num = levl[seehx + 1][zy].typ) != CORR && num != 0;