Lines Matching refs:aroom
349 add_door(x,y,aroom) in add_door() argument
351 register struct mkroom *aroom;
356 aroom->doorct++;
357 broom = aroom+1;
370 dosdoor(x,y,aroom,type) in dosdoor() argument
372 register struct mkroom *aroom;
424 add_door(x,y,aroom);
428 place_niche(aroom,dy,xx,yy) in place_niche() argument
429 register struct mkroom *aroom; in place_niche()
436 finddpos(&dd, aroom->lx, aroom->hy+1, aroom->hx, aroom->hy+1);
439 finddpos(&dd, aroom->lx, aroom->ly-1, aroom->hx, aroom->ly-1);
463 register struct mkroom *aroom; local
471 aroom = &rooms[rn2(nroom)];
472 if(aroom->rtype != OROOM) continue; /* not an ordinary room */
473 if(aroom->doorct == 1 && rn2(5)) continue;
474 if(!place_niche(aroom,&dy,&xx,&yy)) continue;
494 dosdoor(xx, yy, aroom, SDOOR);
498 dosdoor(xx, yy, aroom, rn2(5) ? SDOOR : DOOR);
1151 dodoor(x,y,aroom) in dodoor() argument
1153 register struct mkroom *aroom;
1160 dosdoor(x,y,aroom,rn2(8) ? DOOR : SDOOR);