mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-29 10:30:51 -04:00
Decompile chrPatrolCalculateStep
This commit is contained in:
@@ -2165,10 +2165,9 @@
|
||||
#define PADFLAG_8000 0x8000
|
||||
#define PADFLAG_10000 0x10000
|
||||
|
||||
#define PATHTYPE_BACKANDFORTH 0
|
||||
#define PATHTYPE_CIRCULAR 1
|
||||
#define PATHTYPE_FLYING 2
|
||||
#define PATHTYPE_4 4
|
||||
#define PATHFLAG_CIRCULAR 1
|
||||
#define PATHFLAG_FLYING 2
|
||||
#define PATHFLAG_04 4
|
||||
|
||||
#define PAUSEMODE_UNPAUSED 0
|
||||
#define PAUSEMODE_1 1
|
||||
|
||||
@@ -72,8 +72,8 @@ s32 func0f037124(struct chrdata *chr);
|
||||
void chrGoPosConsiderRestart(struct chrdata *chr);
|
||||
void chrGoPosInitExpensive(struct chrdata *chr);
|
||||
void chrGoPosAdvanceWaypoint(struct chrdata *chr);
|
||||
s32 func0f0373dc(struct chrdata *chr, u32 *arg1, bool arg2);
|
||||
s16 chrPatrolGetCurPadNum(struct chrdata *chr, bool arg1);
|
||||
s32 chrPatrolCalculateStep(struct chrdata *chr, bool *forward, s32 numsteps);
|
||||
s16 chrPatrolCalculatePadNum(struct chrdata *chr, s32 numsteps);
|
||||
void chrPatrolGetCurWaypointInfoWithFlags(struct chrdata *chr, struct coord *pos, s16 *rooms, u32 *flags);
|
||||
void func0f037580(struct chrdata *chr);
|
||||
void func0f0375b0(struct chrdata *chr);
|
||||
|
||||
+5
-4
@@ -553,7 +553,7 @@ struct waydata {
|
||||
struct act_patrol {
|
||||
/*0x02c*/ struct path *path;
|
||||
/*0x030*/ s32 nextstep;
|
||||
/*0x034*/ u32 unk034;
|
||||
/*0x034*/ bool forward;
|
||||
/*0x038*/ struct waydata waydata;
|
||||
};
|
||||
|
||||
@@ -2703,9 +2703,10 @@ struct ailist {
|
||||
};
|
||||
|
||||
struct path {
|
||||
s32 *pads;
|
||||
u8 id;
|
||||
u8 type;
|
||||
/*0x00*/ s32 *pads;
|
||||
/*0x04*/ u8 id;
|
||||
/*0x05*/ u8 flags;
|
||||
/*0x06*/ u16 len;
|
||||
};
|
||||
|
||||
struct coverdefinition {
|
||||
|
||||
Reference in New Issue
Block a user