summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBehemoth <Luisscheurenbrand@gmail.com>2020-09-01 00:57:40 +0200
committerBehemoth <Luisscheurenbrand@gmail.com>2020-09-01 00:58:36 +0200
commit662e221f89aaaed63e80c167822d5d51bf5e172e (patch)
tree112d6f35534ea9b047af9b3c725627944825fe93 /include
parentcc5bb0133b20733958f2c112917f26314c681d54 (diff)
label a bunch of stuff
Diffstat (limited to 'include')
-rw-r--r--include/entity.h7
-rw-r--r--include/functions.h4
2 files changed, 9 insertions, 2 deletions
diff --git a/include/entity.h b/include/entity.h
index fc09651d..7440c198 100644
--- a/include/entity.h
+++ b/include/entity.h
@@ -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
diff --git a/include/functions.h b/include/functions.h
index 8725e18e..adef870f 100644
--- a/include/functions.h
+++ b/include/functions.h
@@ -52,7 +52,7 @@ extern void sub_0806920C(Entity*);
extern u32 sub_0805ACC0(Entity*);
extern u32 sub_0801E99C(Entity*);
extern void sub_0806924C(Entity*);
-extern u32 sub_080AEF88(Entity*);
+extern u32 ProcessMovement(Entity*);
extern Entity* sub_080873AC(Entity*, u32, u32);
extern void sub_08078778(Entity*);
extern void sub_080787A8(Entity*, u32);
@@ -192,7 +192,7 @@ extern void sub_08001242(Entity*);
extern u32 sub_08003FC4(Entity*, u32);
extern u32 sub_080043E8(Entity*);
extern void sub_08001290(Entity*, u32);
-extern void sub_08004488(u32);
+extern void EnqueSFX(u32);
extern void sub_08004596(Entity*, u32);
extern u32 sub_0807953C(void);
extern void ResetPlayer(void);