Home | History | Annotate | Download | only in rogue

Lines Matching refs:col

231 	short row, col;
234 col = monster->col;
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;
266 col = monster->col;
270 if (try_to_cough(row+n, col+i, obj)) {
273 if (try_to_cough(row-n, col+i, obj)) {
278 if (try_to_cough(row+i, col-n, obj)) {
281 if (try_to_cough(row+i, col+n, obj)) {
290 try_to_cough(short row, short col, object *obj)
293 (row > (DROWS-2)) || (col < 0) || (col>(DCOLS-1))) {
296 if ((!(dungeon[row][col] & (OBJECT | STAIRS | TRAP))) &&
297 (dungeon[row][col] & (TUNNEL | FLOOR | DOOR))) {
298 place_at(obj, row, col);
299 if (((row != rogue.row) || (col != rogue.col)) &&
300 (!(dungeon[row][col] & MONSTER))) {
301 mvaddch(row, col, get_dungeon_char(row, col));
313 if ((rn = get_room_number(monster->row, monster->col)) < 0) {
341 gold_at(short row, short col)
343 if (dungeon[row][col] & OBJECT) {
346 if ((obj = object_at(&level_objects, row, col)) &&
366 mvaddch(monster->row, monster->col,
367 get_dungeon_char(monster->row, monster->col));
377 imitating(short row, short col)
379 if (dungeon[row][col] & MONSTER) {
382 if ((monster = object_at(&level_monsters, row, col)) != NULL) {
464 if (!rogue_can_see(monster->row, monster->col)) {
484 short row, col, dir;
486 if ((!mon_sees(monster, rogue.row, rogue.col)) || coin_toss()) {
490 col = rogue.col - monster->col;
494 if (col < 0) {
495 col = -col;
497 if (((row != 0) && (col != 0) && (row != col)) ||
498 ((row > 7) || (col > 7))) {
501 dir = get_dir(monster->row, monster->col, row, col);
502 bounce(FIRE, dir, monster->row, monster->col, 0);