Home | History | Annotate | Download | only in hack

Lines Matching defs:typ

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