Lines Matching refs:typ
313 if (room->typ == HWALL || in dozap()
314 room->typ == VWALL) { in dozap()
315 room->typ = ROOM; in dozap()
318 } else if (room->typ == HWALL || room->typ == VWALL || in dozap()
319 room->typ == SDOOR || room->typ == LDOOR) { in dozap()
320 room->typ = DOOR; in dozap()
322 } else if (room->typ == SCORR || !room->typ) { in dozap()
323 room->typ = CORR; in dozap()
398 int typ; in bhit() local
408 typ = levl[bhitpos.x][bhitpos.y].typ; in bhit()
421 if (!ZAP_POS(typ)) { in bhit()
432 tmp_at(-1, (levl[bhitpos.x][bhitpos.y].typ == POOL) ? -1 : 0); in bhit()
463 if (!ZAP_POS(levl[bhitpos.x][bhitpos.y].typ)) { in boomhit()
522 if ((lev = &levl[sx][sy])->typ) in buzz()
528 if (ZAP_POS(levl[sx][sy - dy].typ)) in buzz()
530 if (ZAP_POS(levl[sx - dx][sy].typ)) { in buzz()
551 if (lev->typ == POOL && abstype == 1 /* fire */ ) { in buzz()
553 lev->typ = ROOM; in buzz()
613 if (!ZAP_POS(lev->typ)) { in buzz()
622 if (ZAP_POS(rmn = levl[sx][sy - dy].typ) && in buzz()
623 (IS_ROOM(rmn) || ZAP_POS(levl[sx + dx][sy - dy].typ))) in buzz()
625 if (ZAP_POS(rmn = levl[sx - dx][sy].typ) && in buzz()
626 (IS_ROOM(rmn) || ZAP_POS(levl[sx - dx][sy + dy].typ))) in buzz()