mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
Dead code in MxBackgroundAudioManager (#1668)
* Dead code in MxBackgroundAudioManager * Rename
This commit is contained in:
parent
48b922d8f0
commit
2fc48b620e
@ -47,6 +47,7 @@ class MxBackgroundAudioManager : public MxCore {
|
||||
virtual MxResult Create(MxAtomId& p_script, MxU32 p_frequencyMS);
|
||||
|
||||
void Init();
|
||||
void Update(MxS32 p_targetVolume, MxS32 p_speed, MxPresenter::TickleState p_tickleState);
|
||||
void Stop();
|
||||
void LowerVolume();
|
||||
void RaiseVolume();
|
||||
|
||||
@ -282,6 +282,17 @@ MxResult MxBackgroundAudioManager::PlayMusic(
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
// FUNCTION: BETA10 0x100e92ec
|
||||
void MxBackgroundAudioManager::Update(MxS32 p_targetVolume, MxS32 p_speed, MxPresenter::TickleState p_tickleState)
|
||||
{
|
||||
assert(p_targetVolume >= 0 && p_targetVolume <= 100);
|
||||
assert(p_speed > 0);
|
||||
|
||||
m_tickleState = p_tickleState;
|
||||
m_speed = p_speed;
|
||||
m_targetVolume = p_targetVolume;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1007f470
|
||||
// FUNCTION: BETA10 0x100e9388
|
||||
void MxBackgroundAudioManager::Stop()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user