Home
last modified time | relevance | path

Searched refs:scol (Results 1 – 2 of 2) sorted by relevance

/dragonfly/games/rogue/
H A Dlevel.c532 short srow, scol, t; in fill_it() local
538 scol = get_rand(0, 3); in fill_it()
540 offsets[srow] = offsets[scol]; in fill_it()
541 offsets[scol] = t; in fill_it()
564 (!mask_room(rn, &srow, &scol, TUNNEL))) { in fill_it()
566 scol = (rooms[rn].left_col + rooms[rn].right_col) / 2; in fill_it()
570 draw_simple_passage(srow, scol, drow, dcol, tunnel_dir); in fill_it()
572 dungeon[srow][scol] = TUNNEL; in fill_it()
581 recursive_deadend(rn, offsets, srow, scol); in fill_it()
594 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
511 if (scol < dcol) { in get_dir()
517 if (scol == dcol) { 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()