mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 07:54:23 +00:00
Dead code in MxBackgroundAudioManager
(#1668)
* Dead code in MxBackgroundAudioManager * Rename
This commit is contained in:
@@ -47,6 +47,7 @@ public:
|
||||
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()
|
||||
|
Reference in New Issue
Block a user