components/prboom/p_map.c
// Returns false if a "oof" sound should be made because of a blocking
// linedef. Makes 2s middles which are impassable, as well as 2s uppers
// and lowers which block the player, cause the sound effect when the
// player tries to activate them. Specials are excluded, although it is
// assumed that all special linedefs within reach have been considered
// and rejected already (see P_UseLines).
//
// by Lee Killough
//
Returns false if a "oof" sound should be made because of a blocking
linedef. Makes 2s middles which are impassable, as well as 2s uppers
and lowers which block the player, cause the sound effect when the
player tries to activate them. Specials are excluded, although it is
assumed that all special linedefs within reach have been considered
and rejected already .

by Lee Killough
Returns false if a " oof " sound should be made because of a blocking linedef . Makes 2s middles which are impassable as well as 2s uppers and lowers which block the player cause the sound effect when the player tries to activate them . Specials are excluded although it is assumed that all special linedefs within reach have been considered and rejected already . by Lee Killough
boolean PTR_NoWayTraverse(intercept_t* in)
  {
  line_t *ld = in->d.line;
  return ld->special || !(                 
   ld->flags & ML_BLOCKING || (            
   P_LineOpening(ld),                      
   openrange <= 0 ||                       
   openbottom > usething->z+24*FRACUNIT || 
   opentop < usething->z+usething->height  
  )
  );
  }
boolean PTR_NoWayTraverse ( intercept_t * in ) { line_t * ld = in -> d . line ; return ld -> special || ! ( ld -> flags & ML_BLOCKING || ( P_LineOpening ( ld ) , openrange <= 0 || openbottom > usething -> z + 24 * FRACUNIT || opentop < usething -> z + usething -> height ) ) ; }
Returns false if a "oof" sound should be made because of a blocking
linedef.
Returns false if a " oof " sound should be made because of a blocking linedef .
// This linedef // Ignore specials // Always blocking // Find openings // No opening // Too high it blocks // Too low it blocks