mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-30 19:51:15 +00:00
Match
This commit is contained in:
parent
0b09bbe1a6
commit
d3aef0b10d
@ -56,16 +56,16 @@ class MxBackgroundAudioManager : public MxCore {
|
|||||||
MxResult OpenMusic(MxAtomId& p_script);
|
MxResult OpenMusic(MxAtomId& p_script);
|
||||||
void DestroyMusic();
|
void DestroyMusic();
|
||||||
|
|
||||||
MxBool m_musicEnabled; // 0x08
|
MxBool m_musicEnabled; // 0x08
|
||||||
MxDSAction m_action1; // 0x0c
|
MxDSAction m_action1; // 0x0c
|
||||||
MxAudioPresenter* m_unk0xa0;
|
MxAudioPresenter* m_unk0xa0; // 0xa0
|
||||||
MxDSAction m_action2; // 0xa4
|
MxDSAction m_action2; // 0xa4
|
||||||
MxAudioPresenter* m_unk0x138;
|
MxAudioPresenter* m_unk0x138; // 0x138
|
||||||
MxS32 m_unk0x13c;
|
MxS32 m_unk0x13c; // 0x13c
|
||||||
MxS32 m_unk0x140;
|
MxS32 m_unk0x140; // 0x140
|
||||||
MxS32 m_targetVolume;
|
MxS32 m_targetVolume; // 0x144
|
||||||
MxS16 m_unk0x148;
|
MxS16 m_unk0x148; // 0x148
|
||||||
MxAtomId m_script;
|
MxAtomId m_script; // 0x14c
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MXBACKGROUNDAUDIOMANAGER_H
|
#endif // MXBACKGROUNDAUDIOMANAGER_H
|
||||||
|
|||||||
@ -115,9 +115,10 @@ void MxBackgroundAudioManager::FUN_1007ef40()
|
|||||||
|
|
||||||
if (m_unk0xa0 == NULL) {
|
if (m_unk0xa0 == NULL) {
|
||||||
if (m_unk0x138) {
|
if (m_unk0x138) {
|
||||||
compare = 30;
|
if (m_unk0x148 != 0) {
|
||||||
|
compare = 30;
|
||||||
if (m_unk0x148 == 0) {
|
}
|
||||||
|
else {
|
||||||
compare = m_targetVolume;
|
compare = m_targetVolume;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user