mirror of
https://github.com/zeldaret/ss
synced 2026-08-09 10:53:09 -04:00
31 lines
685 B
C
31 lines
685 B
C
#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
|