mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 00:44:21 +00:00
implement most of MxBackgroundAudioManager (#232)
* implement most of MxBackgroundAudioManager * Match OpenMusic to 100%, style fixes --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
// 0x100f4588
|
||||
MxAtomId *g_nocdSourceName = NULL;
|
||||
|
||||
// 0x100f456c
|
||||
MxAtomId *g_jukeboxScript = NULL;
|
||||
|
||||
// 0x101020e8
|
||||
void (*g_omniUserMessage)(const char *,int);
|
||||
|
||||
@@ -26,10 +29,11 @@ LegoOmni::~LegoOmni()
|
||||
Destroy();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1005b560 STUB
|
||||
// OFFSET: LEGO1 0x1005b560
|
||||
void LegoOmni::CreateBackgroundAudio()
|
||||
{
|
||||
// TODO
|
||||
if (m_bkgAudioManager)
|
||||
m_bkgAudioManager->Create(*g_jukeboxScript, 100);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1005af10 STUB
|
||||
@@ -308,9 +312,10 @@ MxResult LegoOmni::Start(MxDSAction* action)
|
||||
return result;
|
||||
}
|
||||
|
||||
void LegoOmni::DeleteObject(MxDSAction &ds)
|
||||
MxResult LegoOmni::DeleteObject(MxDSAction &ds)
|
||||
{
|
||||
// FIXME: Stub
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
MxBool LegoOmni::DoesEntityExist(MxDSAction &ds)
|
||||
|
||||
Reference in New Issue
Block a user