Home | History | Annotate | Download | only in rogue

Lines Matching refs:monster

115 				if (dungeon[i][j] & MONSTER) {
116 object *monster;
118 if ((monster = object_at(
120 dungeon[monster->row][monster->col] &= (~MONSTER);
121 monster->trail_char =
122 get_dungeon_char(monster->row, monster->col);
123 dungeon[monster->row][monster->col] |= MONSTER;
164 !(detect_monster && (dungeon[i][j] & MONSTER))) {
182 if (mask & MONSTER) {
376 MONSTER);
402 if ((!(s & MONSTER)) || (och == ' ')) {
405 if (s & MONSTER) {
406 object *monster;
408 if ((monster = object_at(
411 monster->trail_char =
422 dr_course(object *monster, boolean entering, short row, short col)
427 monster->row = row;
428 monster->col = col;
430 if (mon_sees(monster, rogue.row, rogue.col)) {
431 monster->trow = NO_ROOM;
446 monster->trow = rooms[rr].doors[k].oth_row;
447 monster->tcol = rooms[rr].doors[k].oth_col;
448 if ((monster->trow == row) &&
449 (monster->tcol == col)) {
458 clean_up("dr_course: monster not in room");
461 if ((i != monster->row) && (j != monster->col) &&
463 monster->trow = i;
464 monster->tcol = j;
469 /* return monster to room that he came from */
475 monster->trow = rooms[rn].doors[k].oth_row;
476 monster->tcol = rooms[rn].doors[k].oth_col;
483 /* no place to send monster */
484 monster->trow = NO_ROOM;
487 monster->trow = NO_ROOM;
489 monster->trow = row;
490 monster->tcol = col;