Searched refs:cury (Results 1 – 9 of 9) sorted by relevance
/openbsd/games/gomoku/ |
H A D | bdisp.c | 299 static int cury = BSZ / 2; in getcoord() local 302 BGOTO(cury,curx); in getcoord() 304 nx = curx; ny = cury; in getcoord() 308 BGOTO(cury, curx); in getcoord() 315 ny = cury + 1; nx = curx; in getcoord() 321 ny = BSZ + cury - 1; nx = curx; in getcoord() 384 nx = curx; ny = cury; in getcoord() 398 cury = BSZ - myevent.y; in getcoord() 399 return(PT(curx,cury)); in getcoord() 415 return(PT(curx+1,cury+1)); in getcoord() [all …]
|
/openbsd/games/hack/ |
H A D | hack.termcap.c | 186 if (cury > y) { in nocmov() 190 cury--; in nocmov() 198 } else if (cury < y) { in nocmov() 200 while(cury < y) { in nocmov() 202 cury++; in nocmov() 207 while(cury < y) { in nocmov() 210 cury++; in nocmov() 233 cury = y; in cmov() 271 curx = cury = 1; in clr_screen() 283 curx = cury = 1; in home() [all …]
|
H A D | hack.topl.c | 106 tly = cury; in redotoplin() 148 tly = cury; in addtopl() 271 cury++; in putsym() 272 if(cury > tly) tly = cury; in putsym()
|
H A D | hack.pager.c | 221 if(cury == LI-1) { in page_line() 225 cury++; in page_line() 239 cury++; in page_line()
|
H A D | hack.Decl.c | 98 xchar curx,cury; variable
|
H A D | hack.h | 193 extern xchar curx,cury; /* cursor location on screen */
|
/openbsd/games/bs/ |
H A D | bs.c | 167 static int cury = (BDEPTH / 2); variable 501 pgoto(cury, curx); in initgame() 533 ss->y = cury; in initgame() 584 cgoto(cury,curx); in getcoord() 586 pgoto(cury, curx); in getcoord() 593 cgoto(cury, curx); in getcoord() 598 pgoto(cury, curx); in getcoord() 636 nx = curx; ny = cury; in getcoord() 650 cury = CYINV(myevent.y); in getcoord() 669 cury = ny % BDEPTH; in getcoord() [all …]
|
/openbsd/distrib/special/more/ |
H A D | curses.h | 109 size_t cury, curx; /* Current x, y coordinates. */ member 202 (y) = (w)->cury, (x) = (w)->curx 208 ((w)->lines[(w)->cury]->line[(w)->curx].ch & 0177)
|
/openbsd/sys/dev/rasops/ |
H A D | rasops.c | 282 int curx, cury; in rasops_init() local 285 if (rasops_alloc_screen(ri, &cookie, &curx, &cury, &attr)) in rasops_init()
|