Lines Matching refs:directions
157 * @return The set of barrier movement directions the movement vector
180 * x1/y1 → x2/y2. This function only tests whether the directions could be
191 return (barrier->directions & direction) != direction;
274 dir = ~(barrier->directions);
377 if ((dir & BarrierNegativeX) & ~barrier->directions)
379 if ((dir & BarrierPositiveX) & ~barrier->directions)
383 if ((dir & BarrierNegativeY) & ~barrier->directions)
385 if ((dir & BarrierPositiveY) & ~barrier->directions)
636 ret->barrier.directions = stuff->directions & 0x0f;
638 ret->barrier.directions &= ~(BarrierPositiveX | BarrierNegativeX);
640 ret->barrier.directions &= ~(BarrierPositiveY | BarrierNegativeY);