HomeSort by: relevance | last modified time | path
    Searched defs:row (Results 1 - 25 of 83) sorted by relevancy

1 2 3 4

  /src/games/bcd/
bcd.c 157 int i, row; local in function:printcard
200 for (row = 0; row <= 11; ++row) {
203 if (bit(holes[(unsigned char)*p], 11 - row))
206 putchar(rowchars[row]);
209 putchar(rowchars[row]);
  /src/games/boggle/boggle/
timer.c 73 int col, remaining, row; local in function:timerch
75 getyx(stdscr, row, col);
91 move(row, col);
prtable.c 72 int col, row; local in function:prtable
108 getyx(stdscr, row, col);
110 move(row + 1, 0);
  /src/sys/arch/hp300/stand/common/
machdep.c 149 static int col = 0, row = 0; local in function:romputchar
161 romout(row, buf);
163 if (++row == ROWS)
164 row = 0;
  /src/sys/arch/powerpc/tools/chrpicon/ppmtochrpicon/
ppmtochrpicon.c 129 int row, col; local in function:CHRPI_putbitmap
132 for (row = 0; row < img->height; row++) {
137 pP = pixels[row];
  /src/games/battlestar/
fly.c 49 static int row, column; variable in typeref:typename:int
89 row = rnd(LINES - 3) + 1;
154 if (row == MIDR && column < MIDC + 2 &&
256 oldr = row;
259 if (row + dr <= LINES - 3 && row + dr > 0)
260 row += dr;
268 d = (double) ((row - MIDR) * (row - MIDR) + (column - MIDC) *
271 row += (rnd(9) - 4) % (4 - abs(row - MIDR))
    [all...]
  /src/games/gomoku/
bdinit.c 45 init_spot_flags_and_fval(struct spotstr *sp, int col, int row)
49 if (row < 5) {
59 } else if (row == 5) {
142 for (int row = 1; row <= BSZ; row++, sp++) { local in function:init_board
146 init_spot_flags_and_fval(sp, col, row);
bdisp.c 107 for (int row = BSZ; row >= 1; row--) { local in function:bdisp_init
108 mvprintw(scr_y(row), 0, "%2d", row);
109 mvprintw(scr_y(row), scr_x(BSZ) + 2, "%d", row);
172 for (int row = BSZ + 1; --row > 0; ) { local in function:bdisp
174 sp = &board[PT(col, row)];
211 for (int row = BSZ + 1; --row > 0; ) { local in function:bdump
    [all...]
  /src/games/rogue/
trap.c 78 trap_at(int row, int col)
83 if ((traps[i].trap_row == row) && (traps[i].trap_col == col)) {
91 trap_player(short row, short col)
95 if ((t = trap_at(row, col)) == NO_TRAP) {
98 dungeon[row][col] &= (~HIDDEN);
113 mvaddch(rogue.row, rogue.col, '^');
146 short row, col; local in function:add_traps
168 row = get_rand((rooms[party_room].top_row+1),
173 } while (((dungeon[row][col] & (OBJECT|STAIRS|TRAP|TUNNEL)) ||
174 (dungeon[row][col] == NOTHING)) && (tries < 15))
190 short dir, row, col, d, t; local in function:id_trap
232 short s, i, j, row, col, t; local in function:search
    [all...]
message.c 134 move(rogue.row, rogue.col);
247 int row = DROWS - 1; local in function:print_stats
253 mvaddstr(row, 0, "Level: ");
256 mvprintw(row, 7, "%-2d", cur_level);
260 mvaddstr(row, 10, "Gold: ");
265 mvprintw(row, 16, "%-6ld", rogue.gold);
269 mvaddstr(row, 23, "Hp: ");
277 mvprintw(row, 27, "%-8s", buf);
281 mvaddstr(row, 36, "Str: ");
289 mvprintw(row, 41, "%-6s", buf)
    [all...]
hit.c 305 short row, col; local in function:mon_damage
310 row = monster->row;
312 dungeon[row][col] &= ~MONSTER;
313 mvaddch(row, col, get_dungeon_char(row, col));
336 short row, col; local in function:fight
353 row = rogue.row; col = rogue.col;
354 get_dir_rc(d, &row, &col, 0)
    [all...]
spec_hit.c 231 short row, col; local in function:disappear
233 row = monster->row;
236 dungeon[row][col] &= ~MONSTER;
237 if (rogue_can_see(row, col)) {
238 mvaddch(row, col, get_dungeon_char(row, col));
249 short row, col, i, n; local in function:cough_up
265 row = monster->row;
484 short row, col, dir; local in function:flame_broil
    [all...]
throw.c 68 short dir, row, col; local in function:throw
95 row = rogue.row; col = rogue.col;
106 monster = get_thrown_at_monster(weapon, d, &row, &col);
107 mvaddch(rogue.row, rogue.col, rogue.fchar);
110 if (rogue_can_see(row, col) && ((row != rogue.row) || (col != rogue.col))){
111 mvaddch(row, col, get_dungeon_char(row, col))
267 static short row, col; local in function:rand_around
    [all...]
zap.c 71 short dir, d, row, col; local in function:zapp
102 row = rogue.row; col = rogue.col;
104 bounce((short)wand->which_kind, d, row, col, 0);
106 monster = get_zapped_monster(d, &row, &col);
121 get_zapped_monster(short dir, short *row, short *col)
126 orow = *row; ocol = *col;
127 get_dir_rc(dir, row, col, 0);
128 if (((*row == orow) && (*col == ocol)) ||
129 (dungeon[*row][*col] & (HORWALL | VERTWALL)) |
144 short row, col; local in function:zap_monster
210 short row, col; local in function:tele_away
    [all...]
  /src/games/warp/
score.c 379 int row; local in function:wavescore
425 row = 7;
428 mvaddstr(row,5, spbuf);
431 mvaddstr(row, 68, spbuf);
432 row++;
437 mvaddstr(row,5, spbuf);
440 mvaddstr(row, 68, spbuf);
441 row++;
444 mvaddstr(row,5,"For destroying Harry Mudd:");
447 mvaddstr(row, 68, spbuf)
    [all...]
  /src/sys/arch/epoc32/dev/
epockbd.c 188 int column, row; local in function:epockbd_cngetc
209 row = sc->sc_state[column] ^ key;
213 (row == pr && pc == 0 &&
219 if (key & row)
223 *data = EPOC2WS_KBD_DATA(row, column);
226 pr = row;
  /src/sys/arch/powerpc/tools/chrpicon/chrpicontoppm/
chrpicontoppm.c 70 int row, col; local in function:main
101 for (row = 0; row < img->height; row++) {
106 imgP = img->pixels[row];
193 /* get a row */
  /src/usr.bin/systat/
swap.c 142 int row; local in function:labelswap
144 row = 0;
145 wmove(wnd, row, 0);
150 mvwprintw(wnd, row++, 0, "No swap");
154 mvwprintw(wnd, row++, 0, "%-5s%*s%9s %55s",
iostat.c 103 int row; local in function:labeliostat
109 row = 0;
110 wmove(wnd, row, 0); wclrtobot(wnd);
111 mvwaddstr(wnd, row++, INSET,
113 mvwaddstr(wnd, row++, 0, " CPU user|");
114 mvwaddstr(wnd, row++, 0, " nice|");
115 mvwaddstr(wnd, row++, 0, " system|");
116 mvwaddstr(wnd, row++, 0, " interrupt|");
117 mvwaddstr(wnd, row++, 0, " idle|");
119 row = numlabels(row + 1)
204 int row, col; local in function:showiostat
    [all...]
  /src/games/sail/
dr_2.c 180 int row, col, dir, total, ran; local in function:score
185 row = fp->row;
188 move_ship(ship, movement, &fp->dir, &fp->row, &fp->col, &drift);
200 fp->row = row;
209 short *row, short *col, int *drift)
231 *row -= dr[*dir] * dist;
240 *row -= dr[winddir];
dr_3.c 58 int row[NSHIP], col[NSHIP], dir[NSHIP], drift[NSHIP]; local in function:moveall
88 * The old positions are saved in row[], col[], dir[].
98 row[n] = sp->file->row;
154 sq->file->row = sp->file->row - 1;
177 if (row[n] != sp->file->row)
178 send_row(sp, sp->file->row);
247 sp->file->row -= dr[sp->file->dir] * dist
    [all...]
  /src/lib/libmenu/
internals.c 70 /* fill in the row and column value of the item */
72 menu->items[i]->row = i / menu->item_cols;
75 menu->items[i]->row = i % menu->item_rows;
121 if (item->row == 0) {
131 if (item->row == 0) {
159 if (item->row == menu->item_rows - 1) {
170 if (item->row == menu->item_rows - 1) {
221 * (menu->item_cols - 1) + item->row;
251 neighbour = item->row * menu->item_cols;
257 neighbour = item->row;
520 int rowmajor, i, j, k, row = -1, stride; local in function:_menui_draw_menu
    [all...]
  /src/sys/arch/bebox/stand/boot/
video.c 43 #define ROW (VRAM_WIDTH / FONT_WIDTH)
62 int row; member in struct:screen
77 d->row = 0;
88 (d->col * VRAM_WIDTH * FONT_HEIGHT) + (d->row * FONT_WIDTH);
100 d->row++;
110 (d->col * VRAM_WIDTH * FONT_HEIGHT) + (d->row * FONT_WIDTH);
148 } while (d->row % 8);
152 d->row--;
153 if (d->row < 0) {
156 d->row += ROW; /* prev column *
    [all...]
  /src/sys/dev/rasops/
rasops_bitops.h 53 NAME(erasecols)(void *cookie, int row, int col, int num, long attr)
63 if ((unsigned)row >= (unsigned)ri->ri_rows)
82 rp = (uint32_t *)(ri->ri_bits + row*ri->ri_yscale + ((col >> 3) & ~3));
84 hp = (uint32_t *)(ri->ri_hwbits + row*ri->ri_yscale +
149 int row, col, height, width, cnt; local in function:NAME
155 row = ri->ri_crow;
161 rp = (uint32_t *)(ri->ri_bits + row * ri->ri_yscale +
164 hp = (uint32_t *)(ri->ri_hwbits + row * ri->ri_yscale +
219 NAME(copycols)(void *cookie, int row, int src, int dst, int num)
234 if ((unsigned)row >= (unsigned)ri->ri_rows
    [all...]
  /src/sys/dev/wscons/
wsemul_vt100_subr.c 617 int row; local in function:wsemul_vt100_handle_csi
619 row = ROWS_ABOVE(vd);
621 row = vd->crow;
623 row + 1, vd->ccol + 1);

Completed in 20 milliseconds

1 2 3 4