summaryrefslogtreecommitdiff
path: root/include/d/snd/d_snd_bgm_seq_config.h
blob: a66a813171c6891e51ea69b3bfe3b376cbaaf445 (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
#ifndef D_SND_BGM_SEQ_CONFIG_H
#define D_SND_BGM_SEQ_CONFIG_H

#include "common.h"

struct dSndBgmSeqConfig {
    /* 0x00 */ u32 soundId;
    /* 0x04 */ s32 field_0x04;
    /* 0x08 */ s32 mTimebase;
    /* 0x0C */ u16 mLoopStart;
    /* 0x0E */ u16 mLoopEnd;


    static const dSndBgmSeqConfig *getConfig(u32 soundId, s32 unkParam);
};

struct dSndBgmBattleConfig_MuteUnmuteMasks {
    /* 0x00 */ u16 unmuteMask;
    /* 0x02 */ u16 muteMask;
};

struct dSndBgmBattleConfig {
    /* 0x00 */ u32 soundId;
    /* 0x04 */ dSndBgmBattleConfig_MuteUnmuteMasks mTrackMasks[3];

    static bool hasConfig(u32 soundId);
    static const dSndBgmBattleConfig *getConfig(u32 soundId);
};

#endif