/src/usr.bin/unexpand/ |
unexpand.c | 137 size_t dcol, ocol, limit, n; local in function:tabify 139 dcol = ocol = 0; 161 while (((ocol + dstop) / dstop) <= (dcol / dstop)) { 162 if (dcol - ocol < 2) 166 ocol = (1 + ocol / dstop) * dstop; 169 for (n = 0; n < nstops && tabstops[n] <= ocol; n++) 171 while (n < nstops && tabstops[n] <= dcol && ocol < dcol 172 && ocol < limit) { 175 ocol = tabstops[n++] [all...] |
/src/games/rogue/ |
throw.c | 164 short orow, ocol; local in function:get_thrown_at_monster 167 orow = *row; ocol = *col; 178 *col = ocol; 181 if ((i != 0) && rogue_can_see(orow, ocol)) { 182 mvaddch(orow, ocol, get_dungeon_char(orow, ocol)); 190 orow = *row; ocol = *col;
|
zap.c | 123 short orow, ocol; local in function:get_zapped_monster 126 orow = *row; ocol = *col; 128 if (((*row == orow) && (*col == ocol)) || 282 short orow, ocol; local in function:bounce 302 ocol = col; 304 ch = mvinch(orow, ocol); 306 mvaddch(orow, ocol, ch); 307 get_dir_rc(dir, &orow, &ocol, 1); 308 } while (!( (ocol <= 0) || 309 (ocol >= DCOLS-1) | [all...] |
score.c | 167 short i, orow, ocol; local in function:quit 170 orow = ocol = 0; 176 ocol = rogue.col; 194 move(orow, ocol);
|