Lines Matching refs:direction
163 int direction = 0;
167 direction |= BarrierPositiveX;
169 direction |= BarrierNegativeX;
171 direction |= BarrierPositiveY;
173 direction |= BarrierNegativeY;
175 return direction;
179 * Test if the barrier may block movement in the direction defined by
183 * @return TRUE if the barrier blocks the direction of movement or FALSE
188 int direction)
191 return (barrier->directions & direction) != direction;
320 * @param dir Only barriers blocking movement in direction dir are checked
365 * Clamp to the given barrier given the movement direction specified in dir.
368 * @param dir The movement direction