mirror of
https://github.com/zeldaret/tmc
synced 2026-09-07 11:21:35 -04:00
remove nonsense direction modifier macro
This commit is contained in:
+1
-2
@@ -173,8 +173,7 @@ extern void PositionRelative(Entity*, Entity*, s32, s32);
|
||||
#define DirectionRoundUp(expr) DirectionRound((expr) + 4)
|
||||
#define DirectionIsHorizontal(expr) ((expr) & 0x08)
|
||||
#define DirectionIsVertical(expr) ((expr) & 0x10)
|
||||
#define DirectionTurnHorizontal(expr) (DirectionRoundUp(expr) ^ 0x08)
|
||||
#define DirectionTurnVertical(expr) (DirectionRoundUp(expr) ^ 0x10)
|
||||
#define DirectionTurnAround(expr) (DirectionRoundUp(expr) ^ 0x10)
|
||||
#define DirectionToAnimationState(expr) (DirectionRoundUp(expr) >> 3)
|
||||
#define DirectionFromAnimationState(expr) (expr << 3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user