Decompile chrTryJumpOut

This commit is contained in:
Ryan Dwyer
2020-05-26 17:46:41 +10:00
parent 75ebebb696
commit 450ea84061
4 changed files with 47 additions and 128 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ u32 func0f036974(void);
void chrGetSideVectorToTarget(struct chrdata *chr, bool side, struct coord *vector);
u32 chrCanRollInDirection(struct chrdata *chr, bool side, f32 distance);
u32 func0f036b10(void);
u32 func0f036b98(void);
bool chrCanJumpInDirection(struct chrdata *chr, bool side, f32 distance);
u32 func0f036c08(struct chrdata *chr, s32 *arg1, s32 *arg2);
void func0f036ee4(struct chrdata *chr, s8 *maxwaypoints, s32 *arg2, struct coord *prevpos);
void func0f036fc0(struct chrdata *chr, s32 *arg1, s32 *arg2, s32 arg3);
@@ -216,7 +216,7 @@ void chrDoSurprisedSurrender(struct chrdata *chr);
void chrDoSurprisedLookAround(struct chrdata *chr);
void chrSurrender(struct chrdata *chr);
void chrSidestep(struct chrdata *chr, s32 arg1);
void chrJumpOut(struct chrdata *chr, s32 arg1);
void chrJumpOut(struct chrdata *chr, bool side);
void chrRunToPos(struct chrdata *chr, struct coord *pos);
void func0f03119c(struct chrdata *chr);
f32 chrGetShield(struct chrdata *chr);
+2 -2
View File
@@ -8,7 +8,7 @@
#define M_BADTAU (M_BADPI * 2)
#define M_TAU (M_PI * 2)
#define DEG2RAD(deg) ((deg) * 0.017450513318f)
#define RAD2DEG(rad) ((rad) * 57.2958f)
#define DEG2RAD(deg) ((deg) * (M_BADPI / 180.0f))
#define RAD2DEG(rad) ((rad) * (180.0f / M_BADPI))
#endif
+1 -1
View File
@@ -430,7 +430,7 @@ struct act_sidestep {
};
struct act_jumpout {
/*0x2c*/ u32 unk02c;
/*0x2c*/ bool side;
};
struct act_runpos {