Returns the opposite direction of the current Dir8 value.
Rotates the current direction based on the given DirRotate direction.
Converts the current Dir8 value to the corresponding DirYZ value based on the given DirRotate direction.