Lines Matching defs:nx
269 int x, y, dx, dy, gx, gy, nx, ny, typ;
286 for (nx = x - 1; nx <= x + 1; nx++)
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) {
294 if (egd->fakecorr[i].fx == nx &&
297 if ((i = inroom(nx, ny)) >= 0 && rooms[i].rtype == VAULT)
312 nx = x;
319 nx += dx;
323 while ((typ = (crm = &levl[nx][ny])->typ) != 0) {
329 if (isok(nx + nx - x, ny + ny - y) && typ != POOL &&
330 ZAP_POS(levl[nx + nx - x][ny + ny - y].typ)) {
334 if (dy && nx != x) {
335 nx = x;
341 nx = x + dx;
351 if (cansee(nx, ny)) {
352 mnewsym(nx, ny);
353 prl(nx, ny);
358 fcp->fx = nx;
363 nx = ny = 0;
364 guard->mx = nx;