Home
last modified time | relevance | path

Searched refs:srow (Results 1 – 3 of 3) sorted by relevance

/netbsd/games/rogue/
H A Dlevel.c539 short srow, scol, t; in fill_it() local
544 srow = get_rand(0, 3); in fill_it()
546 t = offsets[srow]; in fill_it()
547 offsets[srow] = offsets[scol]; in fill_it()
571 (!mask_room(rn, &srow, &scol, TUNNEL))) { in fill_it()
572 srow = (rooms[rn].top_row + rooms[rn].bottom_row) / 2; in fill_it()
577 draw_simple_passage(srow, scol, drow, dcol, tunnel_dir); in fill_it()
579 dungeon[srow][scol] = TUNNEL; in fill_it()
588 recursive_deadend(rn, offsets, srow, scol); in fill_it()
601 dungeon[srow][scol] = TUNNEL; in recursive_deadend()
[all …]
H A Dspec_hit.c508 get_dir(short srow, short scol, short drow, short dcol) in get_dir() argument
510 if (srow == drow) { in get_dir()
518 if (srow < drow) { in get_dir()
524 if ((srow > drow) && (scol > dcol)) { in get_dir()
527 if ((srow < drow) && (scol < dcol)) { in get_dir()
530 if ((srow < drow) && (scol > dcol)) { in get_dir()
/netbsd/sys/arch/hp300/dev/
H A Ddiofb.c407 int snum, scol, srow; in diofb_erasecols() local
413 srow = row * ri->ri_font->fontheight + ri->ri_yorigin; in diofb_erasecols()
419 if ((*fb->bmv)(fb, scol, srow, scol, srow, snum, in diofb_erasecols()
430 int srow, snum; in diofb_eraserows() local
440 srow = row * ri->ri_font->fontheight + ri->ri_yorigin; in diofb_eraserows()
442 rc = (*fb->bmv)(fb, ri->ri_xorigin, srow, ri->ri_xorigin, in diofb_eraserows()
443 srow, ri->ri_emuwidth, snum, RR_CLEAR, bg); in diofb_eraserows()