mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-11 18:51:16 +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_100c8120(MxDSAction* p_action);
|
||||
void InsertToList74(MxDSBuffer* p_buffer);
|
||||
void FUN_100c8670(MxDSStreamingAction* p_streamingAction);
|
||||
void AddStreamingAction(MxDSStreamingAction* p_streamingAction);
|
||||
|
||||
private:
|
||||
MxDSObjectList m_list0x64; // 0x64
|
||||
|
||||
@ -470,7 +470,7 @@ MxResult MxDiskStreamController::Tickle()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100c8670
|
||||
void MxDiskStreamController::FUN_100c8670(MxDSStreamingAction* p_streamingAction)
|
||||
void MxDiskStreamController::AddStreamingAction(MxDSStreamingAction* p_streamingAction)
|
||||
{
|
||||
AUTOLOCK(m_critical9c);
|
||||
m_list0xb8.push_back(p_streamingAction);
|
||||
|
||||
@ -65,7 +65,7 @@ MxDiskStreamProvider::~MxDiskStreamProvider()
|
||||
g_unk0x10102878--;
|
||||
}
|
||||
|
||||
((MxDiskStreamController*) m_pLookup)->FUN_100c8670((MxDSStreamingAction*) action);
|
||||
((MxDiskStreamController*) m_pLookup)->AddStreamingAction((MxDSStreamingAction*) action);
|
||||
} while (action);
|
||||
|
||||
if (m_remainingWork) {
|
||||
@ -137,7 +137,7 @@ void MxDiskStreamProvider::VTable0x20(MxDSAction* p_action)
|
||||
g_unk0x10102878--;
|
||||
}
|
||||
|
||||
((MxDiskStreamController*) m_pLookup)->FUN_100c8670((MxDSStreamingAction*) action);
|
||||
((MxDiskStreamController*) m_pLookup)->AddStreamingAction((MxDSStreamingAction*) action);
|
||||
} while (action);
|
||||
}
|
||||
else {
|
||||
@ -155,7 +155,7 @@ void MxDiskStreamProvider::VTable0x20(MxDSAction* p_action)
|
||||
g_unk0x10102878--;
|
||||
}
|
||||
|
||||
((MxDiskStreamController*) m_pLookup)->FUN_100c8670((MxDSStreamingAction*) action);
|
||||
((MxDiskStreamController*) m_pLookup)->AddStreamingAction((MxDSStreamingAction*) action);
|
||||
} while (action);
|
||||
}
|
||||
}
|
||||
@ -256,7 +256,7 @@ void MxDiskStreamProvider::PerformWork()
|
||||
}
|
||||
else {
|
||||
if (m_pLookup == NULL || !((MxDiskStreamController*) m_pLookup)->GetUnk0xc4()) {
|
||||
controller->FUN_100c8670(((MxDSStreamingAction*) streamingAction));
|
||||
controller->AddStreamingAction(((MxDSStreamingAction*) streamingAction));
|
||||
}
|
||||
else {
|
||||
controller->FUN_100c7f40(((MxDSStreamingAction*) streamingAction));
|
||||
@ -269,7 +269,7 @@ void MxDiskStreamProvider::PerformWork()
|
||||
|
||||
done:
|
||||
if (streamingAction) {
|
||||
controller->FUN_100c8670(((MxDSStreamingAction*) streamingAction));
|
||||
controller->AddStreamingAction(((MxDSStreamingAction*) streamingAction));
|
||||
}
|
||||
|
||||
m_thread.Sleep(0);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user