HomeSort by: relevance | last modified time | path
    Searched refs:COLS (Results 1 - 25 of 52) sorted by relevancy

1 2 3

  /src/games/hangman/
hangman.h 54 #define NUMBERX (COLS - 1 - 26)
56 #define AVGX (COLS - 1 - 26)
58 #define GUESSX (COLS - 1 - 26)
main.c 95 mvcur(0, COLS - 1, LINES - 1, 0);
prdata.c 58 if (GUESSX + l + n < COLS) {
  /src/games/cribbage/
cribcur.h 47 # define MSG_X (COLS - SCORE_X - 1)
  /src/games/colorbars/
colorbars.c 70 if (COLS < 45 || LINES < 10) {
75 spacing = COLS / numcolors;
76 offsetx = (COLS - (spacing * numcolors)) / 2;
  /src/usr.bin/systat/
globalcmds.c 95 if (col + len > COLS)
99 if (col + 1 < COLS)
108 if ((int)strlen(args) < COLS - 25)
keyboard.c 64 linesz = COLS - 2; /* XXX does not get updated on SIGWINCH */
  /src/sys/arch/hp300/stand/common/
machdep.c 143 #define COLS 80
148 static char buf[COLS];
158 for (i = col; i < COLS-1; i++)
175 if (++col == COLS-1)
  /src/games/worm/
worm.c 129 if (COLS < 18 || LINES < 5) {
140 if ((start_len <= 0) || (start_len > ((LINES-3) * (COLS-2)) / 3))
142 stw = newwin(1, COLS-1, 0, 0);
143 tv = newwin(LINES-1, COLS-1, 1, 0);
177 head->x = start_len % (COLS-5) + 2;
185 if (((bp->x <= 2) && (j == 1)) || ((bp->x >= COLS-4) && (j == -1))) {
236 if (visible_len == (LINES-3) * (COLS-3) - 1) {
245 bp->x = rnd(COLS-3) + 1;
330 wmove(stw, 0, COLS - 12);
  /src/lib/libcurses/
cr_put.c 99 if (destcol >= COLS) {
100 destline += destcol / COLS;
101 destcol %= COLS;
103 if (outcol >= COLS) {
104 l = (outcol + 1) / COLS;
106 outcol %= COLS;
176 if (outcol != COLS - 1 &&
406 if (destcol - outcol > 4 && i < COLS) {
504 * the case where col > COLS, even if ts does not divide COLS
    [all...]
screen.c 76 old_screen->COLS = COLS;
93 COLS = new->COLS;
115 __CTRACE(__CTRACE_SCREEN, "set_term: LINES = %d, COLS = %d\n",
116 LINES, COLS);
229 __CTRACE(__CTRACE_SCREEN, "newterm: LINES = %d, COLS = %d\n",
230 LINES, COLS);
setterm.c 83 /* lines and cols will have been setup correctly by ti_setupterm(3). */
85 screen->COLS = t_columns(screen->term);
116 * Want cols > 4, otherwise things will fail.
118 if (screen->COLS <= 4)
122 COLS = screen->COLS;
127 "setterm: LINES = %d, COLS = %d, TABSIZE = %d\n",
128 LINES, COLS, TABSIZE);
246 COLS = screen->COLS;
    [all...]
insch.c 132 (win->alines[LINES - 1]->line[COLS - 1].ch != ' ' ||
133 win->alines[LINES - 1]->line[COLS - 1].attr != attr)) {
resize.c 88 if (ncols > COLS)
89 ncols = COLS;
101 if (win->begx > COLS)
103 if (win->begx + ncols > COLS)
106 ncols += COLS - win->begx;
140 ncols != _cursesi_screen->COLS));
201 _cursesi_screen->COLS = ncols;
203 COLS = ncols;
205 /* tweak the flags now that we have updated the LINES and COLS */
tstp.c 144 COLS = win.ws_col;
268 * If the application didn't update LINES and COLS,
280 if (win.ws_col != COLS) {
281 COLS = win.ws_col;
286 * We need to make local copies of LINES and COLS, otherwise we
290 ncols = COLS;
ripoffline.c 121 if (srip->init(w, COLS) == ERR)
149 if (wresize(rip->win, nlines, screen->COLS) == ERR)
  /src/games/sail/
player.h 38 #define LINE_X COLS
70 #define SCROLL_R (COLS-1)
pl_7.c 127 if (STAT_R >= COLS || SCROLL_Y <= 0) {
206 for (x = getcurx(stdscr); x < COLS; x++) {
1317 mvaddstr(LINES-2, COLS/2, "Enter your name:");
1318 startup_getstr(LINES-1, COLS/2, o_myname, sizeof(o_myname));
1377 mvaddstr(0, COLS/2, "## SHIPS TITLE");
1381 move(y0 + i - joinscroll, COLS/2);
1398 move(leavey, COLS-1);
1400 mvaddstr(2, COLS/2, "No games.");
1409 mvaddstr(2, COLS/2, "New game");
1414 mvselprintw(4, COLS/2, 0, startpos, COLS/2 - 1
    [all...]
  /src/games/battlestar/
fly.c 47 #define MIDC (COLS/2 - 1)
90 column = rnd(COLS - 2) + 1;
195 c = rnd(COLS);
261 if (column + dc < COLS - 1 && column + dc > 0)
295 mvcur(0, COLS - 1, LINES - 1, 0);
  /src/usr.bin/talk/
init_disp.c 77 my_win.x_ncols = COLS;
83 his_win.x_ncols = COLS;
89 line_win = newwin(1, COLS, my_win.x_nlines, 0);
display.c 139 if (win->x_col == COLS-1) {
146 if (win->x_col == COLS-1) /* check for wraparound */
  /src/games/rain/
rain.c 62 static long cols; variable in typeref:typename:long
108 xpos[j] = random() % cols + 2;
116 if (is_term_resized(LINES, COLS)) {
117 resizeterm(LINES, COLS);
120 x = random() % cols + 2;
156 cols = COLS - 4;
158 if (cols == 0) cols++;
  /src/games/robots/
main.c 160 if (LINES != Y_SIZE || COLS != X_SIZE) {
161 if (LINES < Y_SIZE || COLS < X_SIZE) {
  /src/lib/libcurses/PSD.doc/
twinkle1.c 89 mvcur(0, COLS - 1, LINES - 1, 0);
  /src/games/atc/
graphics.c 132 input = newwin(INPUT_LINES, COLS - PLANE_COLS, LINES - INPUT_LINES, 0);
134 COLS - PLANE_COLS);
135 planes = newwin(LINES - INPUT_LINES, PLANE_COLS, 0, COLS - PLANE_COLS);

Completed in 52 milliseconds

1 2 3