Decompile bgunPlayBgHitSound

This commit is contained in:
Ryan Dwyer
2021-06-23 17:45:44 +10:00
parent 6ff2991c0f
commit 730f705532
8 changed files with 226 additions and 637 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ extern struct criteria_multiroomentered *g_MultiroomEnteredCriterias;
extern struct criteria_holograph *g_HolographCriterias;
extern u32 var8009d0d0[2];
extern s32 var8009d0d8;
extern struct audiohandle *var8009d0e0[4];
extern struct audiohandle *g_BgunAudioHandles[4];
extern struct fireslot g_Fireslots[NUM_FIRESLOTS];
extern struct casing g_Casings[20];
extern struct var8009da60 var8009da60[8];
+2 -2
View File
@@ -136,10 +136,10 @@ void bgunTickMaulerCharge(void);
void bgun0f0a6c30(void);
s32 bgun0f0a70f8(void);
void bgun0f0a7138(Gfx **gdl);
struct audiohandle **bgun0f0a7d5c(void);
struct audiohandle **bgunNewAudioHandle(void);
void bgunPlayPropHitSound(struct gset *gset, struct prop *prop, s32 arg2);
void bgun0f0a8404(struct coord *pos, s16 *rooms, s32 arg2);
void bgun0f0a84c8(struct gset *gset, struct coord *arg1, s16 arg2, s16 *arg3);
void bgunPlayBgHitSound(struct gset *gset, struct coord *arg1, s32 texturenum, s16 *arg3);
void bgunSetTriggerOn(s32 handnum, bool on);
s32 bgunConsiderToggleGunFunction(s32 usedowntime, bool firing, s32 arg2);
void bgun0f0a8c50(void);
+2 -2
View File
@@ -5824,7 +5824,7 @@ struct weatherparticledata {
};
struct texture {
u8 unk00_00 : 4;
u8 soundsurfacetype : 4;
u8 surfacetype : 4;
u8 unk01;
u16 dataoffset;
@@ -7084,7 +7084,7 @@ struct hitthing {
u32 unk20;
u32 unk24;
s16 unk28;
s16 unk2a;
s16 texturenum;
s16 unk2c;
s16 unk2e;
};