Lines Matching defs:offsets
59 } offsets[] = {
191 for (n = 0; n < SIZEOF(offsets); n++)
192 if (chksqr(rw + offsets[n].y, col + offsets[n].x))
268 for (n = 0; n < SIZEOF(offsets); n++) {
269 if (chksqr(prow + offsets[n].y, pcol + offsets[n].x)) {
270 cellmove(prow + offsets[n].y, pcol + offsets[n].x);
289 for (j = 0; j < SIZEOF(offsets) * 2; j++) {
290 k = j % SIZEOF(offsets);
291 newy = oldy + offsets[k].y;
292 newx = oldx + offsets[k].x;
308 *y = oldy + offsets[next].y;
309 *x = oldx + offsets[next].x;