Decompile func0f0c228c

This commit is contained in:
Ryan Dwyer
2020-11-25 12:52:55 +10:00
parent e7e85a0b68
commit 3eee43df14
3 changed files with 36 additions and 87 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ f32 currentPlayerGetHealth(void);
f32 currentPlayerGetShieldFrac(void);
void currentPlayerSetShieldFrac(f32 shield);
s32 getMissionTime(void);
u32 func0f0c228c(struct prop *prop);
s32 func0f0c228c(struct prop *prop);
u32 func0f0c2364(void);
u32 func0f0c2a58(void);
u32 func0f0c32a0(void);
+16 -26
View File
@@ -1672,6 +1672,21 @@ struct threat {
s16 unk0a;
};
struct bullettail {
/*0x00*/ s8 age;
/*0x01*/ s8 unk01;
/*0x04*/ u32 unk04;
/*0x08*/ u32 unk08;
/*0x0c*/ u32 unk0c;
/*0x10*/ u32 unk10;
/*0x14*/ u32 unk14;
/*0x18*/ u32 unk18;
/*0x1c*/ f32 maxdist;
/*0x20*/ f32 speed;
/*0x24*/ u32 unk24;
/*0x28*/ f32 dist;
};
// Weapon data per hand
struct hand {
/*0x0638*/ u8 weaponnum;
@@ -1797,17 +1812,7 @@ struct hand {
/*0x0808*/ u32 unk0808;
/*0x080c*/ u32 unk080c;
/*0x0810*/ u32 unk0810;
/*0x0814*/ u32 unk0814;
/*0x0818*/ u32 unk0818;
/*0x081c*/ u32 unk081c;
/*0x0820*/ u32 unk0820;
/*0x0824*/ u32 unk0824;
/*0x0828*/ u32 unk0828;
/*0x082c*/ u32 unk082c;
/*0x0830*/ u32 unk0830;
/*0x0834*/ u32 unk0834;
/*0x0838*/ u32 unk0838;
/*0x083c*/ u32 unk083c;
/*0x0814*/ struct bullettail bullettail;
/*0x0840*/ f32 unk0840;
/*0x0844*/ u32 unk0844;
/*0x0848*/ u32 unk0848;
@@ -3528,21 +3533,6 @@ struct room {
/*0x88*/ u32 unk88;
};
struct bullettail {
/*0x00*/ s8 age;
/*0x01*/ s8 unk01;
/*0x04*/ u32 unk04;
/*0x08*/ u32 unk08;
/*0x0c*/ u32 unk0c;
/*0x10*/ u32 unk10;
/*0x14*/ u32 unk14;
/*0x18*/ u32 unk18;
/*0x1c*/ f32 maxdist;
/*0x20*/ f32 speed;
/*0x24*/ u32 unk24;
/*0x28*/ f32 dist;
};
struct fireslotthing {
/*0x00*/ u8 unk00;
/*0x01*/ u8 unk01;