mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-09-12 12:15:11 -04:00
Decompile sndLoadWavetable
This commit is contained in:
@@ -12,11 +12,11 @@ void snd0000ea80(u16 volume);
|
||||
void sndResetCurMp3(void);
|
||||
void sndLoadSfxCtl(void);
|
||||
void sndIncrementAges(void);
|
||||
ALEnvelope *sndLoadEnvelope(u32 romaddr, u16 index);
|
||||
ALKeyMap *sndLoadKeymap(u32 segoffset, u16 index);
|
||||
u32 snd0000efa8(void);
|
||||
u32 snd0000f0d4(void);
|
||||
ALWaveTable *sndLoadWavetable(u32 romaddr, u16 index);
|
||||
ALEnvelope *sndLoadEnvelope(u32 offset, u16 index);
|
||||
ALKeyMap *sndLoadKeymap(u32 offset, u16 index);
|
||||
ALADPCMBook *sndLoadAdpcmBook(u32 offset, u16 index);
|
||||
ALADPCMloop *sndLoadAdpcmLoop(u32 offset, u16 index);
|
||||
ALWaveTable *sndLoadWavetable(u32 offset, u16 index);
|
||||
void sndSetSoundMode(s32 mode);
|
||||
ALSound *sndLoadSound(s16 soundnum);
|
||||
void seqInit(struct seqinstance *seq);
|
||||
|
||||
+7
-6
@@ -7022,12 +7022,13 @@ struct mp3vars {
|
||||
};
|
||||
|
||||
struct sndcache {
|
||||
u16 *indexes; // indexed by sfxnum, value is cache index (0-44) or 0xffff
|
||||
u8 permanent[45];
|
||||
u16 ages[45];
|
||||
/*0x8c*/ ALEnvelope envelopes[45];
|
||||
/*0x35c*/ ALKeyMap keymaps[45];
|
||||
u8 unk46a[0x39aa];
|
||||
/*0x0000*/ u16 *indexes; // indexed by sfxnum, value is cache index (0-44) or 0xffff
|
||||
/*0x0004*/ u8 permanent[45];
|
||||
/*0x0032*/ u16 ages[45];
|
||||
/*0x008c*/ ALEnvelope envelopes[45];
|
||||
/*0x035c*/ ALKeyMap keymaps[45];
|
||||
/*0x046c*/ ALWaveTable wavetables[45];
|
||||
/*0x07f0*/ u8 unk7f0[0x3624];
|
||||
/*0x3e14*/ ALSound sounds[45];
|
||||
u32 unk40e4;
|
||||
u32 unk40e8;
|
||||
|
||||
Reference in New Issue
Block a user