mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
match and document audiosfx.c (#550)
* match func_80004668 and adjust types * match _handleEvent * documentation WIP * wip * document audiosfx.c * fix build * a few type renames * update score * remove comment * fix type * fix typo
This commit is contained in:
@@ -592,28 +592,6 @@ typedef struct {
|
||||
u8 chan;
|
||||
} ALOscEvent;
|
||||
|
||||
typedef struct ALSoundState {
|
||||
/* 0x00 */ struct ALSoundState *next;
|
||||
/* 0x04 */ struct ALSoundState *prev;
|
||||
/* 0x08 */ struct ALSoundState *unk8;
|
||||
/* 0x0C */ ALVoice voice;
|
||||
/* 0x28 */ ALSound *sound; /* sound referenced here */
|
||||
/* 0x2C */ s16 priority;
|
||||
/* 0x30 */ struct ALSoundState *unk30;
|
||||
/* 0x34 */ u8 pad34[0x2];
|
||||
/* 0x34 */ u8 soundPriority;
|
||||
/* 0x38 */ s16 vol; /* volume - combined with volume from bank */
|
||||
/* 0x3A */ ALPan pan; /* pan - 0 = left, 127 = right */
|
||||
/* 0x3C */ u8 fxMix; /* wet/dry mix - 0 = dry, 127 = wet */
|
||||
/* 0x3C */ u8 pad3C[2];
|
||||
/* 0x3E */ u8 flags;
|
||||
/* 0x3F */ u8 soundState;
|
||||
} ALSoundState;
|
||||
|
||||
typedef struct {
|
||||
ALSoundState *soundState;
|
||||
} ALSoundEvent;
|
||||
|
||||
typedef struct {
|
||||
s16 type;
|
||||
union {
|
||||
@@ -628,7 +606,6 @@ typedef struct {
|
||||
ALSeqpSeqEvent spseq;
|
||||
ALSeqpBankEvent spbank;
|
||||
ALOscEvent osc;
|
||||
ALSoundEvent sndpevent;
|
||||
} msg;
|
||||
} ALEvent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user