mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 08:12:41 +02:00
Decompile chrPatrolCalculateStep
This commit is contained in:
1 parent
41282ffd03
commit
9dbdfd7a29
24 files changed
+317
-312
No files matched your search
@@ -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