label a bunch of stuff

This commit is contained in:
Behemoth
2020-09-01 00:57:40 +02:00
parent cc5bb0133b
commit 662e221f89
142 changed files with 670 additions and 658 deletions
+7
View File
@@ -169,6 +169,13 @@ extern void CopyPosition(Entity*, Entity*);
extern void DeleteEntity(Entity*);
extern void PositionRelative(Entity*, Entity*, s32, s32);
#define DirectionRound(expr) ((expr) & 0x18)
#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)
extern Entity gUnk_03003DA0;
#endif