blob: 7abb95b906debabe6e16cfc32222e951526e90ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#ifndef EGG_AUDIO_ARC_UTILITY_H
#define EGG_AUDIO_ARC_UTILITY_H
#include "common.h"
#include "egg/audio/eggAudioMgr.h"
#include "nw4r/ut/ut_list.h"
namespace EGG {
// We don't really know much about this since it's
// unused in both NSMBW and SS
struct MultiArcSimpleAudioMgr {
u8 field_0x000[0x0FC - 0x000];
s32 field_0x0FC;
ArcPlayer players[1];
nw4r::snd::SoundArchivePlayer *getPlayer(int i) {
return players[i].getPlayer();
}
};
class AudioUtility {
public:
class MoveParamMgr {
public:
MoveParamMgr();
static void init();
nw4r::ut::List mList;
};
class HBM {
public:
static void init(SimpleAudioMgr *mgr, void (*userCallback)(), u32 frame);
static void enter();
static void exit(bool);
static MultiArcSimpleAudioMgr *sMultiArcSimpleAudioMgr;
static SimpleAudioMgr *sSimpleAudioMgr;
static void (*sHBMEffectRestCallback)();
static void (*sHBMUserCallback)(s32, s32);
static u32 sHBFadeframe;
};
static MoveParamMgr sMoveParamMgr;
static nw4r::ut::List lbl_80675480;
};
} // namespace EGG
#endif
|