Attempt to decompile goPosUpdateLiftAction

This commit is contained in:
Ryan Dwyer
2021-05-21 23:03:04 +10:00
parent 1a8400e4ec
commit 362a3a4b59
5 changed files with 151 additions and 16 deletions
+4 -3
View File
@@ -1134,9 +1134,10 @@
#define INVITEMTYPE_PROP 2
#define INVITEMTYPE_DUAL 3
// Lift actions
#define LA_1 1 // either waiting for lift or in lift
#define LA_3 3 // either waiting for lift or in lift
#define LIFTACTION_NOTUSINGLIFT 0
#define LIFTACTION_WAITINGFORLIFT 1
#define LIFTACTION_ONLIFT 2
#define LIFTACTION_WAITINGONLIFT 3
#define LANGUAGE_NTSC_EN 0
#define LANGUAGE_NTSC_JP 1
+2 -2
View File
@@ -92,7 +92,7 @@ void func0f0375e8(struct chrdata *chr, struct waydata *waydata, f32 arg2, struct
void chrCalculatePosition(struct chrdata *chr, struct coord *pos);
void chrGoPosChooseAnimation(struct chrdata *chr);
bool chrGoToPos(struct chrdata *chr, struct coord *pos, s16 *rooms, u32 flags);
u32 func0f038868(void);
void func0f038868(struct chrdata *chr);
void func0f038b9c(struct chrdata *chr, struct path *path);
bool chrCanSeeEntity(struct chrdata *chr, struct coord *pos, s16 *rooms, bool arg3, u32 entitytype, u32 entityid);
bool chrCanSeeAttackTarget(struct chrdata *chr, struct coord *pos, s16 *rooms, bool arg3);
@@ -171,7 +171,7 @@ u32 func0f0451a8(void);
u32 func0f045760(void);
struct prop *chrOpenDoor(struct chrdata *chr, struct coord *coord);
void func0f045b9c(struct chrdata *chr, struct coord *pos, struct waydata *waydata, bool arg3);
bool func0f046648(struct chrdata *chr, u32 padflags, u32 arg2, u32 arg3, s32 padnum, u32 arg5);
bool goPosUpdateLiftAction(struct chrdata *chr, u32 curpadflags, bool arg2, bool arrivingatlift, s16 curpadnum, s32 nextpadnum);
s16 chrGoPosGetNextPadNum(struct chrdata *chr);
void chrTickGoPos(struct chrdata *chr);
void chrTickPatrol(struct chrdata *chr);
+1 -1
View File
@@ -141,7 +141,7 @@ u32 func0f070bd0(void);
void func0f070ca0(struct defaultobj *obj, void *ptr, s32 arg2, s32 arg3, union modelrodata *rodata);
void liftActivate(struct prop *prop, u8 liftnum);
struct prop *liftFindByPad(s16 padnum);
u32 func0f070eac(void);
f32 liftGetY(struct liftobj *lift);
void func0f070f08(struct liftobj *lift, bool arg0);
void liftGoToStop(struct liftobj *lift, s32 stopnum);
f32 objGetHov04(struct defaultobj *obj);