mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 00:31:16 +00:00
Update
This commit is contained in:
parent
9488a37d1b
commit
04b1e0aae3
@ -57,10 +57,11 @@ class LegoCacheSoundManager {
|
|||||||
LegoCacheSound* FindSoundByKey(const char* p_key);
|
LegoCacheSound* FindSoundByKey(const char* p_key);
|
||||||
LegoCacheSound* ManageSoundEntry(LegoCacheSound* p_sound);
|
LegoCacheSound* ManageSoundEntry(LegoCacheSound* p_sound);
|
||||||
LegoCacheSound* Play(const char* p_key, const char* p_name, MxBool p_looping);
|
LegoCacheSound* Play(const char* p_key, const char* p_name, MxBool p_looping);
|
||||||
LegoCacheSound* Play(LegoCacheSound* p_sound, const char* p_name, MxBool p_looping);
|
|
||||||
void Destroy(LegoCacheSound*& p_sound);
|
void Destroy(LegoCacheSound*& p_sound);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
LegoCacheSound* Play(LegoCacheSound* p_sound, const char* p_name, MxBool p_looping);
|
||||||
|
|
||||||
Set100d6b4c m_set; // 0x04
|
Set100d6b4c m_set; // 0x04
|
||||||
List100d6b4c m_list; // 0x14
|
List100d6b4c m_list; // 0x14
|
||||||
};
|
};
|
||||||
|
|||||||
@ -106,7 +106,6 @@ LegoCacheSound* LegoCacheSoundManager::ManageSoundEntry(LegoCacheSound* p_sound)
|
|||||||
// FUNCTION: LEGO1 0x1003dae0
|
// FUNCTION: LEGO1 0x1003dae0
|
||||||
LegoCacheSound* LegoCacheSoundManager::Play(const char* p_key, const char* p_name, MxBool p_looping)
|
LegoCacheSound* LegoCacheSoundManager::Play(const char* p_key, const char* p_name, MxBool p_looping)
|
||||||
{
|
{
|
||||||
// DECOMP: Second parameter is LegoRoi::m_name (0xe4)
|
|
||||||
return Play(FindSoundByKey(p_key), p_name, p_looping);
|
return Play(FindSoundByKey(p_key), p_name, p_looping);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user