Decompile chrPatrolGetCurPadNum

This commit is contained in:
Ryan Dwyer
2020-06-22 21:37:03 +10:00
parent 9d810304a4
commit 2bcb688944
3 changed files with 22 additions and 27 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ void chrGoPosConsiderRestart(struct chrdata *chr);
void chrGoPosInitExpensive(struct chrdata *chr);
void chrGoPosAdvanceWaypoint(struct chrdata *chr);
s32 func0f0373dc(struct chrdata *chr, u32 *arg1, bool arg2);
s32 func0f0374a0(struct chrdata *chr, s32 arg1);
s32 chrPatrolGetCurPadNum(struct chrdata *chr, bool arg1);
void chrPatrolGetCurWaypointInfoWithFlags(struct chrdata *chr, struct coord *pos, s16 *rooms, u32 *flags);
void func0f037580(struct chrdata *chr);
void func0f0375b0(struct chrdata *chr);
+7 -2
View File
@@ -551,7 +551,7 @@ struct waydata {
};
struct act_patrol {
/*0x02c*/ u32 unk02c;
/*0x02c*/ struct path *path;
/*0x030*/ s32 nextstep;
/*0x034*/ u32 unk034;
/*0x038*/ struct waydata waydata;
@@ -2702,8 +2702,13 @@ struct ailist {
s32 id;
};
struct pathnode {
u16 unk00;
s16 padnum;
};
struct path {
s32 *pads;
struct pathnode *nodes;
u8 id;
u8 type;
};