Home
last modified time | relevance | path

Searched refs:ttyp (Results 1 – 8 of 8) sorted by relevance

/openbsd/lib/libc/gen/
H A Dttyslot.c40 struct ttyent *ttyp; in ttyslot() local
53 for (slot = 1; (ttyp = getttyent()); ++slot) in ttyslot()
54 if (!strcmp(ttyp->ty_name, p)) { in ttyslot()
/openbsd/games/hack/
H A Dhack.search.c93 if(ttmp->ttyp == PIERC){ in findit()
147 pline("You find a%s.", traps[trap->ttyp]); in dosearch()
148 if(trap->ttyp == PIERC) { in dosearch()
173 if((u.dz < 0) != (!xdnstair && trap->ttyp == TRAPDOOR)) in doidtrap()
175 pline("That is a%s.", traps[trap->ttyp]); in doidtrap()
H A Dhack.trap.c93 ttmp->ttyp = typ; in maketrap()
106 int ttype = trap->ttyp; in dotrap()
199 impossible("You hit a trap of type %u", trap->ttyp); in dotrap()
215 int tt = trap->ttyp; in mintrap()
328 switch(trap->ttyp) { in float_down()
H A Ddef.trap.h68 unsigned ttyp:5; member
H A Dhack.apply.c407 ttmp->ttyp = TRAPDOOR; in dighole()
H A Dhack.mklev.c809 if(mazeflag && !rn2(10) && ttmp->ttyp < PIERC) in mktrap()
H A Dhack.mon.c600 tt = 1 << ttmp->ttyp; in mfndpos()
H A Dhack.c240 switch(ttmp->ttyp) { in domove()