Home | History | Annotate | Download | only in hack

Lines Matching refs:typ

146 	levl[xdnstair][ydnstair].typ = STAIRS;
156 levl[xupstair][yupstair].typ = STAIRS;
396 if (levl[x][y].typ == DOOR || levl[x][y].typ == SDOOR)
411 if (levl[x - 1][y].typ == DOOR || levl[x + 1][y].typ == DOOR ||
412 levl[x][y + 1].typ == DOOR || levl[x][y - 1].typ == DOOR ||
413 levl[x - 1][y].typ == SDOOR || levl[x + 1][y].typ == SDOOR ||
414 levl[x][y - 1].typ == SDOOR || levl[x][y + 1].typ == SDOOR ||
415 (levl[x][y].typ != HWALL && levl[x][y].typ != VWALL) ||
439 if (!IS_WALL(levl[x][y].typ)) /* avoid SDOORs with '+' as scrsym */
441 levl[x][y].typ = type;
483 if (levl[x][y].typ) {
523 levl[x][y].typ = HWALL;
528 levl[x][y].typ = VWALL;
533 levl[x][y].typ = ROOM;
620 if (nxcor && levl[xx + dx][yy + dy].typ)
637 if (!(crm->typ)) {
639 crm->typ = CORR;
644 crm->typ = SCORR;
647 } else if (crm->typ != CORR && crm->typ != SCORR) {
660 if (!crm->typ || crm->typ == CORR || crm->typ == SCORR) {
669 if (!crm->typ || crm->typ == CORR || crm->typ == SCORR) {
677 if (!crm->typ || crm->typ == CORR || crm->typ == SCORR)
685 if (!crm->typ || crm->typ == CORR || crm->typ == SCORR)
693 if (!crm->typ || crm->typ == CORR || crm->typ == SCORR)
749 if ((rm = &levl[xx][yy + dy])->typ)
752 rm->typ = SCORR;
761 rm->typ = CORR;
827 } while (m_at(mx, my) || levl[mx][my].typ == STAIRS);
849 } while (t_at(mx, my) || levl[mx][my].typ == STAIRS);