Searched refs:xpos (Results 1 - 9 of 9) sorted by relevance
/openbsd-current/games/rain/ |
H A D | rain.c | 60 int xpos[5], ypos[5]; local 102 xpos[j] = arc4random_uniform(tcols) + 2; 113 mvaddch(ypos[j], xpos[j], 'o'); 116 mvaddch(ypos[j], xpos[j], 'O'); 119 mvaddch(ypos[j] - 1, xpos[j], '-'); 120 mvaddstr(ypos[j], xpos[j] - 1, "|.|"); 121 mvaddch(ypos[j] + 1, xpos[j], '-'); 124 mvaddch(ypos[j] - 2, xpos[j], '-'); 125 mvaddstr(ypos[j] - 1, xpos[j] - 1, "/ \\"); 126 mvaddstr(ypos[j], xpos[ [all...] |
/openbsd-current/games/worms/ |
H A D | worms.c | 160 short *xpos, *ypos; member in struct:worm 259 w->xpos = ip; 298 if ((x = w->xpos[h = w->head]) < 0) { 300 x = w->xpos[h] = 0, 308 if (w->xpos[w->head = h] >= 0) { 311 x1 = w->xpos[h]; 354 ref[w->ypos[h] = y][w->xpos[h] = x]++;
|
/openbsd-current/games/atc/ |
H A D | update.c | 130 pp->xpos += displacement[pp->dir].dx; 133 if (pp->delayd && pp->xpos == sp->beacon[pp->delayd_no].x && 142 if (pp->xpos == sp->airport[pp->dest_no].x && 154 if (pp->xpos == sp->exit[pp->dest_no].x && 172 if (pp->xpos == sp->airport[i].x && 183 if (pp->xpos < 1 || pp->xpos >= sp->width - 1 || 186 if (pp->xpos == sp->exit[i].x && 344 p.xpos = sp->exit[rnd2].x; 359 p.xpos [all...] |
H A D | struct.h | 90 int xpos; member in struct:plane
|
H A D | graphics.c | 79 wmove(cleanradar, pp->ypos, pp->xpos * 2); 80 wmove(radar, pp->ypos, pp->xpos * 2); 82 wmove(cleanradar, pp->ypos, pp->xpos * 2 + 1); 83 wmove(radar, pp->ypos, pp->xpos * 2 + 1); 96 wmove(radar, pp->ypos, pp->xpos * 2);
|
H A D | input.c | 383 xdiff = sp->beacon[(int)c].x - p.xpos; 390 if (abs(sp->beacon[(int)c].x - p.xpos) != 508 p.new_dir = DIR_FROM_DXDY(sp->beacon[(int)c].x - p.xpos, 514 p.new_dir = DIR_FROM_DXDY(sp->exit[(int)c].x - p.xpos, 520 p.new_dir = DIR_FROM_DXDY(sp->airport[(int)c].x - p.xpos,
|
/openbsd-current/gnu/usr.bin/binutils/gdb/tui/ |
H A D | tui-source.c | 266 int xpos; local 273 xpos = 1; 275 xpos = (line_width - 1) / 2 - warning_length; 277 for (i = 0; i < xpos; i++) 282 for (i = xpos + warning_length; i < line_width; i++)
|
/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_tv.c | 1104 int xsize, ysize, xpos, ypos; local 1148 xpos = tmp >> 16; 1161 xpos, mode.hdisplay - xsize - xpos); 1454 int xpos, ypos; local 1563 xpos = conn_state->tv.margins.left; 1569 intel_de_write(dev_priv, TV_WIN_POS, (xpos << 16) | ypos);
|
/openbsd-current/bin/ksh/ |
H A D | lex.c | 879 int xpos; local 891 xpos = Xsavepos(xs, xp); 908 xp = Xrestpos(xs, xp, xpos);
|
Completed in 134 milliseconds