Home
last modified time | relevance | path

Searched refs:ocol (Results 1 – 4 of 4) sorted by relevance

/minix3/usr.bin/unexpand/
H A Dunexpand.c143 size_t dcol, ocol, limit, n; in tabify() local
145 dcol = ocol = 0; in tabify()
169 while (((ocol + DSTOP) / DSTOP) <= (dcol / DSTOP)) { in tabify()
170 if (dcol - ocol < 2) in tabify()
174 ocol = (1 + ocol / DSTOP) * DSTOP; in tabify()
177 for (n = 0; tabstops[n] <= ocol && n < nstops; n++) in tabify()
179 while (tabstops[n] <= dcol && ocol < dcol && in tabify()
180 n < nstops && ocol < limit) { in tabify()
183 ocol = tabstops[n++]; in tabify()
188 while (ocol < dcol && ocol < limit) { in tabify()
[all …]
/minix3/games/rogue/
H A Dzap.c123 short orow, ocol; in get_zapped_monster() local
126 orow = *row; ocol = *col; in get_zapped_monster()
128 if (((*row == orow) && (*col == ocol)) || in get_zapped_monster()
282 short orow, ocol; in bounce() local
302 ocol = col; in bounce()
304 ch = mvinch(orow, ocol); in bounce()
306 mvaddch(orow, ocol, ch); in bounce()
307 get_dir_rc(dir, &orow, &ocol, 1); in bounce()
308 } while (!( (ocol <= 0) || in bounce()
309 (ocol >= DCOLS-1) || in bounce()
[all …]
H A Dthrow.c164 short orow, ocol; in get_thrown_at_monster() local
167 orow = *row; ocol = *col; in get_thrown_at_monster()
178 *col = ocol; in get_thrown_at_monster()
181 if ((i != 0) && rogue_can_see(orow, ocol)) { in get_thrown_at_monster()
182 mvaddch(orow, ocol, get_dungeon_char(orow, ocol)); in get_thrown_at_monster()
190 orow = *row; ocol = *col; in get_thrown_at_monster()
H A Dscore.c167 short i, orow, ocol; in quit() local
170 orow = ocol = 0; in quit()
176 ocol = rogue.col; in quit()
194 move(orow, ocol); in quit()