mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-17 21:41:15 +00:00
Rename FUN_100c8670 to AddStreamingAction in MxDiskStreamController
This commit is contained in:
parent
0a2d598b57
commit
f3bfcbfe86
@ -50,7 +50,7 @@ class MxDiskStreamController : public MxStreamController {
|
|||||||
void FUN_100c7f40(MxDSStreamingAction* p_streamingaction);
|
void FUN_100c7f40(MxDSStreamingAction* p_streamingaction);
|
||||||
void FUN_100c8120(MxDSAction* p_action);
|
void FUN_100c8120(MxDSAction* p_action);
|
||||||
void InsertToList74(MxDSBuffer* p_buffer);
|
void InsertToList74(MxDSBuffer* p_buffer);
|
||||||
void FUN_100c8670(MxDSStreamingAction* p_streamingAction);
|
void AddStreamingAction(MxDSStreamingAction* p_streamingAction);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxDSObjectList m_list0x64; // 0x64
|
MxDSObjectList m_list0x64; // 0x64
|
||||||
|
|||||||
@ -470,7 +470,7 @@ MxResult MxDiskStreamController::Tickle()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100c8670
|
// FUNCTION: LEGO1 0x100c8670
|
||||||
void MxDiskStreamController::FUN_100c8670(MxDSStreamingAction* p_streamingAction)
|
void MxDiskStreamController::AddStreamingAction(MxDSStreamingAction* p_streamingAction)
|
||||||
{
|
{
|
||||||
AUTOLOCK(m_critical9c);
|
AUTOLOCK(m_critical9c);
|
||||||
m_list0xb8.push_back(p_streamingAction);
|
m_list0xb8.push_back(p_streamingAction);
|
||||||
|
|||||||
@ -65,7 +65,7 @@ MxDiskStreamProvider::~MxDiskStreamProvider()
|
|||||||
g_unk0x10102878--;
|
g_unk0x10102878--;
|
||||||
}
|
}
|
||||||
|
|
||||||
((MxDiskStreamController*) m_pLookup)->FUN_100c8670((MxDSStreamingAction*) action);
|
((MxDiskStreamController*) m_pLookup)->AddStreamingAction((MxDSStreamingAction*) action);
|
||||||
} while (action);
|
} while (action);
|
||||||
|
|
||||||
if (m_remainingWork) {
|
if (m_remainingWork) {
|
||||||
@ -137,7 +137,7 @@ void MxDiskStreamProvider::VTable0x20(MxDSAction* p_action)
|
|||||||
g_unk0x10102878--;
|
g_unk0x10102878--;
|
||||||
}
|
}
|
||||||
|
|
||||||
((MxDiskStreamController*) m_pLookup)->FUN_100c8670((MxDSStreamingAction*) action);
|
((MxDiskStreamController*) m_pLookup)->AddStreamingAction((MxDSStreamingAction*) action);
|
||||||
} while (action);
|
} while (action);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -155,7 +155,7 @@ void MxDiskStreamProvider::VTable0x20(MxDSAction* p_action)
|
|||||||
g_unk0x10102878--;
|
g_unk0x10102878--;
|
||||||
}
|
}
|
||||||
|
|
||||||
((MxDiskStreamController*) m_pLookup)->FUN_100c8670((MxDSStreamingAction*) action);
|
((MxDiskStreamController*) m_pLookup)->AddStreamingAction((MxDSStreamingAction*) action);
|
||||||
} while (action);
|
} while (action);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -256,7 +256,7 @@ void MxDiskStreamProvider::PerformWork()
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (m_pLookup == NULL || !((MxDiskStreamController*) m_pLookup)->GetUnk0xc4()) {
|
if (m_pLookup == NULL || !((MxDiskStreamController*) m_pLookup)->GetUnk0xc4()) {
|
||||||
controller->FUN_100c8670(((MxDSStreamingAction*) streamingAction));
|
controller->AddStreamingAction(((MxDSStreamingAction*) streamingAction));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
controller->FUN_100c7f40(((MxDSStreamingAction*) streamingAction));
|
controller->FUN_100c7f40(((MxDSStreamingAction*) streamingAction));
|
||||||
@ -269,7 +269,7 @@ void MxDiskStreamProvider::PerformWork()
|
|||||||
|
|
||||||
done:
|
done:
|
||||||
if (streamingAction) {
|
if (streamingAction) {
|
||||||
controller->FUN_100c8670(((MxDSStreamingAction*) streamingAction));
|
controller->AddStreamingAction(((MxDSStreamingAction*) streamingAction));
|
||||||
}
|
}
|
||||||
|
|
||||||
m_thread.Sleep(0);
|
m_thread.Sleep(0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user