mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-01 08:07:35 -04:00
Decompile musicHandlePlayEvent
This commit is contained in:
@@ -2761,7 +2761,7 @@
|
||||
#define MPWEAPON_SHIELD 0x25
|
||||
#define MPWEAPON_DISABLED 0x26
|
||||
|
||||
#define MUSICEVENTTYPE_START 1
|
||||
#define MUSICEVENTTYPE_PLAY 1
|
||||
#define MUSICEVENTTYPE_STOP 2
|
||||
#define MUSICEVENTTYPE_FADE 3
|
||||
#define MUSICEVENTTYPE_STOPALL 4
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
|
||||
void func00039c80(N_ALCSPlayer *seqp, s16 volume);
|
||||
void func00039cd0(ALCSPlayer *seqp);
|
||||
void func00039e5c(N_ALCSPlayer *seqp, s32 arg1, s32 arg2, s32 arg3);
|
||||
void func00039e5c(N_ALCSPlayer *seqp, s32 arg1, s32 arg2, u8 arg3);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
#include "data.h"
|
||||
#include "types.h"
|
||||
|
||||
s32 musicHandleStartEvent(struct musicevent *event, u32 arg1);
|
||||
s32 musicHandleStopEvent(struct musicevent *event, u32 arg1);
|
||||
s32 musicHandleFadeEvent(struct musicevent *event, u32 arg1);
|
||||
s32 musicHandleStopAllEvent(u32 arg0);
|
||||
s32 musicHandleEvent5(struct musicevent *event, u32 arg1);
|
||||
s32 musicHandlePlayEvent(struct musicevent *event, s32 result);
|
||||
s32 musicHandleStopEvent(struct musicevent *event, s32 result);
|
||||
s32 musicHandleFadeEvent(struct musicevent *event, s32 result);
|
||||
s32 musicHandleStopAllEvent(s32 result);
|
||||
s32 musicHandleEvent5(struct musicevent *event, s32 result);
|
||||
void musicTickEvents(void);
|
||||
void musicTick(void);
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ void snd0000f67c(struct var80094ed8 *arg0);
|
||||
void sndInit(void);
|
||||
bool sndIsMp3(u16 soundnum);
|
||||
bool snd0000fbc4(s16 arg0);
|
||||
u32 snd0000fc48(void);
|
||||
bool snd0000fc48(struct var80094ed8 *arg0, s32 tracknum);
|
||||
u32 snd0000fd74(void);
|
||||
void sndSetMusicChannelVolume(struct var80094ed8 *arg0, u16 volume);
|
||||
void snd0000fe18(void);
|
||||
|
||||
+2
-2
@@ -6134,7 +6134,7 @@ struct musicevent {
|
||||
s16 volume;
|
||||
u16 eventtype;
|
||||
s16 id;
|
||||
s16 unk16;
|
||||
u16 failcount;
|
||||
u16 numattempts;
|
||||
};
|
||||
|
||||
@@ -6188,7 +6188,7 @@ struct var800a4ce8 {
|
||||
};
|
||||
|
||||
struct var800aaa38 {
|
||||
u32 tracktype;
|
||||
s32 tracktype;
|
||||
u32 unk04;
|
||||
u32 unk08;
|
||||
u32 unk0c;
|
||||
|
||||
Reference in New Issue
Block a user