Merge struct targetsomething into struct position, decompile chrGetDistanceToTarget and rename ai0052 and ai0053 to aiIfDistanceToTargetLessThan/GreaterThan

This commit is contained in:
Ryan Dwyer
2019-11-07 23:34:38 +10:00
parent 77415eb1d8
commit 36a26b0aa2
9 changed files with 155 additions and 201 deletions
+3 -2
View File
@@ -5,7 +5,7 @@
struct chrdata *chrFindByLiteralId(u8 chrnum);
struct chrdata *chrFindById(struct chrdata *data, u32 chrnum);
struct targetsomething *chrGetTargetSomething(struct chrdata *chr);
struct position *chrGetTargetPosition(struct chrdata *chr);
float chrGetTimer(struct chrdata *chr);
@@ -35,6 +35,7 @@ u32 func0f01b148(void);
u32 func0f01b154(void);
void func0f03af44(struct chrdata *chr, u32 anim_id, float fstartframe, float fendframe, u8 flags, u8 transition, float result);
u32 func0f048f20(struct chrdata *chr, u8 b);
float func0f0491c8(struct chrdata *chr);
float chrGetDistanceToTarget(struct chrdata *chr);
float func0f049254(struct position *a, struct position *b);
#endif