Lines Matching refs:typ
135 levl[(int)xdnstair][(int)ydnstair].typ = STAIRS; in makelevel()
144 levl[(int)xupstair][(int)yupstair].typ = STAIRS; in makelevel()
374 if(levl[x][y].typ == DOOR || levl[x][y].typ == SDOOR) in finddpos()
389 if(levl[x-1][y].typ == DOOR || levl[x+1][y].typ == DOOR || in okdoor()
390 levl[x][y+1].typ == DOOR || levl[x][y-1].typ == DOOR || in okdoor()
391 levl[x-1][y].typ == SDOOR || levl[x+1][y].typ == SDOOR || in okdoor()
392 levl[x][y-1].typ == SDOOR || levl[x][y+1].typ == SDOOR || in okdoor()
393 (levl[x][y].typ != HWALL && levl[x][y].typ != VWALL) || in okdoor()
417 if(!IS_WALL(levl[x][y].typ)) /* avoid SDOORs with '+' as scrsym */ in dosdoor()
419 levl[x][y].typ = type; in dosdoor()
452 if(levl[x][y].typ) { in maker()
491 levl[x][y].typ = HWALL; in maker()
496 levl[x][y].typ = VWALL; in maker()
501 levl[x][y].typ = ROOM; in maker()
584 if(nxcor && levl[xx+dx][yy+dy].typ) in join()
601 if(!(crm->typ)) { in join()
603 crm->typ = CORR; in join()
608 crm->typ = SCORR; in join()
612 if(crm->typ != CORR && crm->typ != SCORR) { in join()
626 if(!crm->typ || crm->typ == CORR || crm->typ == SCORR) { in join()
635 if(!crm->typ || crm->typ == CORR || crm->typ == SCORR) { in join()
644 if(!crm->typ || crm->typ == CORR || crm->typ == SCORR) in join()
652 if(!crm->typ || crm->typ == CORR || crm->typ == SCORR) in join()
660 if(!crm->typ || crm->typ == CORR || crm->typ == SCORR) in join()
713 if((rm = &levl[xx][yy+dy])->typ) continue; in makeniche()
715 rm->typ = SCORR; in makeniche()
724 rm->typ = CORR; in makeniche()
783 } while(m_at(mx,my) || levl[(int)mx][(int)my].typ == STAIRS); in mktrap()
807 } while(t_at(mx, my) || levl[(int)mx][(int)my].typ == STAIRS); in mktrap()