HomeSort by: relevance | last modified time | path
    Searched refs:ny (Results 1 - 12 of 12) sorted by relevancy

  /src/games/hack/
hack.vault.c 269 int x, y, dx, dy, gx, gy, nx, ny, typ; local in function:gd_move
287 for (ny = y - 1; ny <= y + 1; ny++) {
288 if (nx == x || ny == y)
289 if (nx != x || ny != y)
290 if (isok(nx, ny))
291 if (!IS_WALL(typ = (crm = &levl[nx][ny])->typ) && typ != POOL) {
295 egd->fakecorr[i].fy == ny)
297 if ((i = inroom(nx, ny)) >= 0 && rooms[i].rtype == VAULT
    [all...]
hack.mon.c 320 int nx, ny, omx, omy, appr, nearer, cnt, i, j; local in function:m_move
472 ny = poss[i].y;
474 if (nx == mtmp->mtrack[j].x && ny == mtmp->mtrack[j].y)
480 int d1 = DIST(nx, ny, gx, gy);
485 nearer = (DIST(nx, ny, gx, gy) < DIST(nix, niy, gx, gy));
491 niy = ny;
578 int x, y, nx, ny, cnt = 0, ntyp; local in function:mfndpos
595 for (ny = y - 1; ny <= y + 1; ny++
    [all...]
hack.dog.c 192 int nx, ny, omx, omy, appr, nearer, j; local in function:dog_move
365 ny = poss[i].y;
367 mtmp2 = m_at(nx, ny);
384 if ((info[i] & ALLOW_TRAPS) && (trap = t_at(nx, ny))) {
394 if (obj->ox != nx || obj->oy != ny)
407 niy = ny;
430 if (nx == mtmp->mtrack[j].x && ny == mtmp->mtrack[j].y)
438 nearer = GDIST(nx, ny);
447 niy = ny;
hack.shk.c 942 xchar gx, gy, omx, omy, nx, ny, nix, niy; local in function:shk_move
1050 ny = poss[i].y;
1051 if (levl[nx][ny].typ == ROOM
1058 if (uondoor && (ib = sobj_at(ICE_BOX, nx, ny))) {
1060 niy = ny;
1068 (appr && (zz = GDIST(nix, niy)) && zz > GDIST(nx, ny))
1070 (appr && GDIST(nx, ny) < GDIST(nix, niy))
1074 niy = ny;
  /src/games/dab/
main.cc 104 size_t ny, nx, nn = 1, wt = 0; local in function:main
134 ny = nx = 3;
138 ny = nx = atoi(argv[optind]);
143 ny = atoi(argv[optind+1]);
172 sc = TTYSCRN::create(acs, &ny, &nx);
176 BOARD b(ny, nx, sc);
algor.cc 48 _edge1 = (_b.nx() * _b.ny()) * 2;
50 _edge2 = (_b.nx() * (_b.ny() - 1)) + ((_b.nx() - 1) * _b.ny());
52 _maxedge = _b.nx() * _b.ny() * 2;
59 RANDOM rdy(b.ny()), rdx(b.nx());
61 for (y = rdy(); y < b.ny(); y = rdy()) {
86 BOX bbox(b.ny() - 1, x, b);
89 for (size_t y = 0; y < _b.ny(); y++) {
188 RANDOM rdy(b.ny()), rdx(b.nx());
190 for (y = rdy(); y < b.ny(); y = rdy())
    [all...]
human.cc 144 _cury = (b.ny() * 2) + (_cury & 1);
145 if (_cury >= (b.ny() * 2) + 1)
board.h 53 size_t ny(void) const { return _ny; } function in class:BOARD
  /src/games/hunt/huntd/
makemaze.c 101 int ny, nx;
109 ny = y + *ip++;
111 if (candig(ny, nx))
112 dig(ny, nx);
  /src/sys/dev/wscons/
wscons_rops.c 191 int srcy, dsty, ny; local in function:rcons_copyrows
195 ny = rc->rc_font->height * nrows;
198 rc->rc_raswidth, ny, RAS_SRC,
209 int starty, ny, op; local in function:rcons_eraserows
212 ny = rc->rc_font->height * nrows;
218 rc->rc_raswidth, ny, op,
  /src/lib/libcurses/
refresh.c 1517 domvcur(WINDOW *win, int oy, int ox, int ny, int nx)
1521 oy, ox, ny, nx, win );
1526 if (oy == ny && ox == nx) {
1534 win->alines[ny]->flags &= ~__ISPASTEOL;
1536 __mvcur(oy, ox, ny, nx, 1);
  /src/sys/dev/pci/
tga.c 938 int srcy, dsty, ny; local in function:tga_copyrows
942 ny = ri->ri_font->fontheight * nrows;
945 ri->ri_emuwidth, ny, RAS_SRC,

Completed in 17 milliseconds