Decompile sndTick

This commit is contained in:
Ryan Dwyer 2021-11-20 23:37:09 +10:00
parent d4a22bec79
commit 7b001efcbe
5 changed files with 205 additions and 1010 deletions

View File

@ -2363,6 +2363,11 @@
#define MOVEMODE_GRAB 4
#define MOVEMODE_CUTSCENE 5
#define MP3RESPONSETYPE_NONE 0
#define MP3RESPONSETYPE_ACKNOWLEDGE 1
#define MP3RESPONSETYPE_WHISPER 2
#define MP3RESPONSETYPE_GREETING 3
#define MPBODY_DARK_COMBAT 0x00
#define MPBODY_DARK_TRENCH 0x01
#define MPBODY_DARK_FROCK 0x02

View File

@ -18,7 +18,7 @@ void func00033db0(void);
void func00033dd8(void);
void audioPostEvent(struct sndstate *handle, s16 type, s32 data);
u16 func00033ec4(u8 index);
struct sndstate *func00033f08(void);
struct sndstate *sndpGetHeadState(void);
ALMicroTime sndpGetCurTime(void);
void func00033f44(u8 index, u16 volume);

View File

@ -2513,14 +2513,14 @@ enum sfx {
#define MP3_04EA (FILE_AM3L2CARRM | MP3PRIORITY_MED)
#define MP3_04EB (FILE_AELVCET01M | MP3PRIORITY_MED)
#define MP3_04EC (FILE_AELVCET02M | MP3PRIORITY_MED)
#define MP3_04ED (FILE_AJOREP01M | MP3PRIORITY_MED)
#define MP3_04EE (FILE_AJOREP02M | MP3PRIORITY_MED)
#define MP3_04EF (FILE_AJOREP03M | MP3PRIORITY_MED)
#define MP3_04F0 (FILE_AJOREP04M | MP3PRIORITY_MED)
#define MP3_04F8 (FILE_AJORPLD01M | MP3PRIORITY_MED)
#define MP3_04F9 (FILE_AJORPLD02M | MP3PRIORITY_MED)
#define MP3_04FA (FILE_AJORPLD03M | MP3PRIORITY_MED)
#define MP3_04FB (FILE_AJORPLD04M | MP3PRIORITY_MED)
#define MP3_JO_WHISPER_RECEIVED (FILE_AJOREP01M | MP3PRIORITY_LOW | 0x2000 | 0x4000)
#define MP3_JO_WHISPER_UNDERSTOOD (FILE_AJOREP02M | MP3PRIORITY_LOW | 0x2000 | 0x4000)
#define MP3_JO_WHISPER_AFFIRMATIVE (FILE_AJOREP03M | MP3PRIORITY_LOW | 0x2000 | 0x4000)
#define MP3_JO_WHISPER_CONFIRMED (FILE_AJOREP04M | MP3PRIORITY_LOW | 0x2000 | 0x4000)
#define MP3_JO_ACKNOWLEDGE_CONFIRMED (FILE_AJORPLD01M | MP3PRIORITY_LOW | 0x2000 | 0x4000)
#define MP3_JO_ACKNOWLEDGE_UNDERSTOOD (FILE_AJORPLD02M | MP3PRIORITY_LOW | 0x2000 | 0x4000)
#define MP3_JO_ACKNOWLEDGE_AFFIRMATIVE (FILE_AJORPLD03M | MP3PRIORITY_LOW | 0x2000 | 0x4000)
#define MP3_JO_ACKNOWLEDGE_RECEIVED (FILE_AJORPLD04M | MP3PRIORITY_LOW | 0x2000 | 0x4000)
#define MP3_0517 (FILE_ATRJO01M | MP3PRIORITY_MED)
#define MP3_0518 (FILE_ATRGRIM01M | MP3PRIORITY_MED)
#define MP3_0519 (FILE_ATRGRIM02M | MP3PRIORITY_MED)
@ -2589,10 +2589,10 @@ enum sfx {
#define MP3_HANGERGUY_HALF_HOUR_AGO (FILE_ATRROGE01M | MP3PRIORITY_MED)
#define MP3_07B0 (FILE_ACICARR07M | MP3PRIORITY_MED)
#define MP3_07B1 (FILE_ACICARR08M | MP3PRIORITY_MED)
#define MP3_07B6 (FILE_AJOINST01M | MP3PRIORITY_MED)
#define MP3_07B7 (FILE_AJOINST02M | MP3PRIORITY_MED)
#define MP3_07B8 (FILE_AJOINST03M | MP3PRIORITY_MED)
#define MP3_07B9 (FILE_AJOINST04M | MP3PRIORITY_MED)
#define MP3_JO_GREETING_HELLO (FILE_AJOINST01M | MP3PRIORITY_MED | 0x2000 | 0x4000)
#define MP3_JO_GREETING_HI (FILE_AJOINST02M | MP3PRIORITY_MED | 0x2000 | 0x4000)
#define MP3_JO_GREETING_HEY (FILE_AJOINST03M | MP3PRIORITY_MED | 0x2000 | 0x4000)
#define MP3_JO_GREETING_HIYA (FILE_AJOINST04M | MP3PRIORITY_MED | 0x2000 | 0x4000)
#define MP3_07BA (FILE_AP25_03_JOM | MP3PRIORITY_MED | 0x2000 | 0x4000)
#define MP3_07C8 (FILE_AP29_13_JOM | MP3PRIORITY_MED | 0x2000 | 0x4000)
#define MP3_07C9 (FILE_AP29_14_JOM | MP3PRIORITY_MED | 0x2000 | 0x4000)

View File

@ -922,7 +922,7 @@ u16 func00033ec4(u8 index)
}
#if VERSION >= VERSION_NTSC_1_0
struct sndstate *func00033f08(void)
struct sndstate *sndpGetHeadState(void)
{
return g_SndpAllocStatesHead;
}

File diff suppressed because it is too large Load Diff