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
+2 -2
View File
@@ -85,8 +85,8 @@
/*0x004f*/ bool ai004f(void);
/*0x0050*/ bool ai0050(void);
/*0x0051*/ bool ai0051(void);
/*0x0052*/ bool ai0052(void);
/*0x0053*/ bool ai0053(void);
/*0x0052*/ bool aiIfDistanceToTargetLessThan(void);
/*0x0053*/ bool aiIfDistanceToTargetGreaterThan(void);
/*0x0054*/ bool ai0054(void);
/*0x0055*/ bool ai0055(void);
/*0x0056*/ bool ai0056(void);
+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
+1 -1
View File
@@ -301,7 +301,7 @@ u32 func0f065880(void);
u32 func0f065d1c(void);
u32 func0f065f80(void);
u32 func0f066290(void);
struct targetsomething *heliGetTargetSomething(struct heliobj *obj);
struct position *heliGetTargetPosition(struct heliobj *obj);
struct heliobj *func0f07adf4(struct defaultobj *obj);
u32 func0f095bf4(void);
u32 func0f095d64(void);