Lines Matching refs:fromx
67 register int fromx, fromy, tox, toy;
72 fromx = r[x][y].rlx; fromy = r[x][y].rly;
73 fromx += 1 + 26*x; fromy += 7*y;
75 fromx = r[x][y].rlx + rn2(r[x][y].dx);
77 fromx += 1 + 26*x; fromy += 7*y;
78 if (!IS_WALL(levl[fromx][fromy].typ))
79 impossible("down: no wall at %d,%d?",fromx,
81 dodoor(fromx, fromy, &rooms[r[x][y].nroom]);
82 levl[fromx][fromy].doormask = D_NODOOR;
104 roguejoin(fromx, fromy, tox, toy, FALSE);
109 fromx = r[x][y].rlx; fromy = r[x][y].rly;
110 fromx += 1 + 26*x; fromy += 7*y;
112 fromx = r[x][y].rlx + r[x][y].dx;
114 fromx += 1 + 26*x; fromy += 7*y;
115 if (!IS_WALL(levl[fromx][fromy].typ))
116 impossible("down: no wall at %d,%d?",fromx,
118 dodoor(fromx, fromy, &rooms[r[x][y].nroom]);
119 levl[fromx][fromy].doormask = D_NODOOR;
120 fromx++;
141 roguejoin(fromx, fromy, tox, toy, TRUE);