Lines Matching refs:trap
87 struct trap *
90 struct trap *ttmp; in maketrap()
104 dotrap(struct trap *trap) in dotrap() argument
106 int ttype = trap->ttyp; in dotrap()
109 if(trap->tseen && !rn2(5) && ttype != PIT) in dotrap()
112 trap->tseen = 1; in dotrap()
128 deltrap(trap); in dotrap()
177 if(trap->once) { in dotrap()
178 deltrap(trap); in dotrap()
199 impossible("You hit a trap of type %u", trap->ttyp); in dotrap()
207 struct trap *trap = t_at(mtmp->mx, mtmp->my); in mintrap() local
210 if(!trap) { in mintrap()
215 int tt = trap->ttyp; in mintrap()
324 struct trap *trap; in float_down() local
327 if ((trap = t_at(u.ux,u.uy))) in float_down()
328 switch(trap->ttyp) { in float_down()
335 dotrap(trap); in float_down()