Searched refs:ypos (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/games/rain/
H A Drain.c60 int xpos[5], ypos[5]; local
103 ypos[j] = arc4random_uniform(tlines) + 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[
[all...]
/openbsd-current/games/atc/
H A Dupdate.c131 pp->ypos += displacement[pp->dir].dy;
134 pp->ypos == sp->beacon[pp->delayd_no].y) {
143 pp->ypos == sp->airport[pp->dest_no].y &&
155 pp->ypos == sp->exit[pp->dest_no].y) {
173 pp->ypos == sp->airport[i].y) {
184 pp->ypos < 1 || pp->ypos >= sp->height - 1) {
187 pp->ypos == sp->exit[i].y) {
345 p.ypos = sp->exit[rnd2].y;
360 p.ypos
[all...]
H A Dstruct.h91 int ypos; member in struct:plane
H A Dgraphics.c79 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 Dinput.c385 ydiff = sp->beacon[(int)c].y - p.ypos;
391 abs(sp->beacon[(int)c].y - p.ypos))
509 sp->beacon[(int)c].y - p.ypos);
515 sp->exit[(int)c].y - p.ypos);
521 sp->airport[(int)c].y - p.ypos);
/openbsd-current/lib/libcurses/base/
H A Dlib_addch.c123 newline_forces_scroll(WINDOW *win, NCURSES_SIZE_T *ypos) argument
127 if (*ypos >= win->_regtop && *ypos <= win->_regbottom) {
128 if (*ypos == win->_regbottom) {
129 *ypos = win->_regbottom;
131 } else if (*ypos < win->_maxy) {
132 *ypos = (NCURSES_SIZE_T) (*ypos + 1);
134 } else if (*ypos < win->_maxy) {
135 *ypos
[all...]
/openbsd-current/games/worms/
H A Dworms.c160 short *xpos, *ypos; member in struct:worm
266 w->ypos = ip;
299 mvaddch(y = w->ypos[h] = bottom,
305 y = w->ypos[h];
312 y1 = w->ypos[h];
354 ref[w->ypos[h] = y][w->xpos[h] = x]++;
/openbsd-current/lib/libcurses/widechar/
H A Dlib_add_wch.c120 newline_forces_scroll(WINDOW *win, NCURSES_SIZE_T *ypos) argument
124 if (*ypos >= win->_regtop && *ypos == win->_regbottom) {
125 *ypos = win->_regbottom;
128 *ypos = (NCURSES_SIZE_T) (*ypos + 1);
/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_tv.c1104 int xsize, ysize, xpos, ypos; local
1149 ypos = tmp & 0xffff;
1163 ypos, mode.vdisplay - ysize - ypos);
1454 int xpos, ypos; local
1564 ypos = tv_conn_state->margins.top;
1569 intel_de_write(dev_priv, TV_WIN_POS, (xpos << 16) | ypos);

Completed in 271 milliseconds