Decompile func0f09ee18

This commit is contained in:
Ryan Dwyer
2021-04-06 22:53:22 +10:00
parent 1de2cc728e
commit 1c379b5082
9 changed files with 106 additions and 443 deletions
+1
View File
@@ -24,6 +24,7 @@ void guMtxIdentF(float mf[4][4]);
void guMtxL2F(float mf[4][4], Mtx *m);
void guNormalize(float *, float *, float *);
void guAlignF(float mf[4][4], float a, float x, float y, float z);
void guRotateF(float mf[4][4], float a, float x, float y, float z);
void guLookAt(Mtx *m, float xEye, float yEye, float zEye,
float xAt, float yAt, float zAt,
+1
View File
@@ -2726,6 +2726,7 @@
#define PORTALMODE_HIDE 1
#define PROJECTILEFLAG_00000001 0x00000001
#define PROJECTILEFLAG_00000002 0x00000002
#define PROJECTILEFLAG_00000080 0x00000080
#define PROJECTILEFLAG_00000800 0x00000800
#define PROJECTILEFLAG_00001000 0x00001000
+1 -1
View File
@@ -4,7 +4,7 @@
#include "data.h"
#include "types.h"
u32 func0f096360(void);
void func0f096360(f32 mf[4][4]);
u32 func0f0964b4(void);
u32 func0f0965e4(void);
u32 func0f096698(void);
+1 -1
View File
@@ -71,7 +71,7 @@ bool func0f09eae4(void);
s32 func0f09ebbc(void);
void func0f09ebcc(struct defaultobj *obj, struct coord *coord, s16 *rooms, Mtxf *matrix1, f32 *arg4, Mtxf *matrix2, struct prop *prop, struct coord *pos);
u32 func0f09ed2c(void);
void func0f09ee18(struct chrdata *chr, u8 *arg1, struct coord *pos, s16 *rooms, Mtxf *arg4, struct coord *arg5);
struct var8009ce58 *func0f09ee18(struct chrdata *chr, struct shorthand *hand, struct coord *pos, s16 *rooms, Mtxf *arg4, struct coord *arg5);
void handCreateThrownProjectile(s32 handnum, struct shorthand *hand);
u32 func0f09f848(void);
u32 func0f09f974(void);
+2 -2
View File
@@ -285,8 +285,8 @@ u32 func0f08ae54(struct defaultobj *obj, struct chrdata *chr);
u32 func0f08b108(struct weaponobj *weapon, struct chrdata *chr, struct modelfiledata *modelfiledata, u32 arg3, u32 arg4);
void func0f08b208(struct weaponobj *weapon, struct chrdata *chr);
void func0f08b25c(struct weaponobj *weapon, struct chrdata *chr);
u32 func0f08b27c(void);
u32 func0f08b658(void);
struct var8009ce58 *func0f08b27c(s32 modelnum, struct shorthand *hand, struct chrdata *chr);
struct var8009ce58 *func0f08b658(s32 modelnum, struct shorthand *hand, struct chrdata *chr);
struct weaponobj *func0f08b880(u32 model, u32 weaponnum, struct chrdata *chr);
void chrSetObjHiddenFlag4OnWeapon(struct chrdata *chr, s32 hand);
struct prop *func0f08b8e8(struct chrdata *chr, s32 weaponnum, s32 arg2, u32 flags, s32 arg4, s32 arg5);
+1 -1
View File
@@ -1718,7 +1718,7 @@ enum sfx {
SFX_80A6,
SFX_80A7,
SFX_80A8,
SFX_80A9,
SFX_THROW,
SFX_80AA,
SFX_DETONATE,
SFX_DOOR_80AC,
+5 -2
View File
@@ -6924,10 +6924,13 @@ struct var8009cda4 {
s16 unk00[8];
};
// Suspect this is just a weaponobj
struct var8009ce58 {
struct defaultobj base;
/*0x5c*/ u32 unk5c;
/*0x60*/ u32 unk60;
/*0x5c*/ u8 weaponnum;
/*0x60*/ u16 unk5e;
/*0x60*/ u16 unk60;
/*0x62*/ s16 activatetime240;
/*0x64*/ u32 unk64;
};