mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 16:51:15 +00:00
remove debug prints
This commit is contained in:
parent
63dd0692cd
commit
e6f5219853
@ -210,10 +210,8 @@ MxDSStreamingAction* MxDiskStreamController::FUN_100c7db0()
|
||||
for (MxStreamListMxNextActionDataStart::iterator it = m_nextActionList.begin(); it != m_nextActionList.end();
|
||||
it++) {
|
||||
MxNextActionDataStart* data = *it;
|
||||
OutputDebugStringA("found data action start\n");
|
||||
for (MxStreamListMxDSAction::iterator it2 = m_list0x64.begin(); it2 != m_list0x64.end(); it2++) {
|
||||
MxDSStreamingAction* streamingAction = (MxDSStreamingAction*) *it2;
|
||||
OutputDebugStringA("found streaming action\n");
|
||||
if (streamingAction->GetObjectId() == data->GetObjectId() &&
|
||||
streamingAction->GetUnknown24() == data->GetUnknown24() &&
|
||||
streamingAction->GetBufferOffset() == data->GetData()) {
|
||||
@ -244,9 +242,7 @@ MxResult MxDiskStreamController::VTable0x20(MxDSAction* p_action)
|
||||
MxAutoLocker lock(&this->m_criticalSection);
|
||||
MxDSStreamingAction* entry =
|
||||
(MxDSStreamingAction*) m_list0x80.Find(p_action, FALSE); // TODO: is this a seperate class?
|
||||
OutputDebugStringA("MxDiskStreamController::VTable0x20\n");
|
||||
if (entry) {
|
||||
OutputDebugStringA("MxDiskStreamController::VTable0x20 no entry\n");
|
||||
MxDSStreamingAction* action = new MxDSStreamingAction(*p_action, 0);
|
||||
action->SetUnknown28(entry->GetUnknown28());
|
||||
action->SetUnknown84(entry->GetUnknown84());
|
||||
|
||||
@ -79,20 +79,17 @@ MxResult MxDiskStreamProvider::SetResourceToGet(MxStreamController* p_resource)
|
||||
// STUB: LEGO1 0x100d15e0
|
||||
void MxDiskStreamProvider::VTable0x20(MxDSAction* p_action)
|
||||
{
|
||||
OutputDebugStringA("MxDiskStreamProvider::VTable0x20");
|
||||
// TODO
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100d1750
|
||||
MxResult MxDiskStreamProvider::WaitForWorkToComplete()
|
||||
{
|
||||
OutputDebugStringA("WaitForWorkToComplete\n");
|
||||
while (m_remainingWork != 0) {
|
||||
m_busySemaphore.Wait(INFINITE);
|
||||
if (m_unk0x35 != 0)
|
||||
PerformWork();
|
||||
}
|
||||
OutputDebugStringA("Work is completed\n");
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
@ -127,7 +127,6 @@ MxResult MxDSBuffer::FUN_100c67b0(
|
||||
)
|
||||
{
|
||||
// TODO STUB
|
||||
OutputDebugStringA("MxDSBuffer::FUN_100c67b0\n");
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
@ -213,7 +212,6 @@ MxResult MxDSBuffer::ParseChunk(
|
||||
)
|
||||
{
|
||||
// TODO
|
||||
OutputDebugStringA("MxDSBuffer::ParseChunk not implemented\n");
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
|
||||
@ -82,14 +82,12 @@ MxResult MxStreamController::Open(const char* p_filename)
|
||||
void MxStreamController::FUN_100c15d0(MxDSSubscriber* p_subscriber)
|
||||
{
|
||||
// TODO
|
||||
OutputDebugStringA("MxStreamController::FUN_100c15d0\n");
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x100c1620
|
||||
void MxStreamController::FUN_100c1620(MxDSSubscriber* p_subscriber)
|
||||
{
|
||||
// TODO
|
||||
OutputDebugStringA("MxStreamController::FUN_100c1620\n");
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100c1690
|
||||
@ -258,7 +256,6 @@ MxPresenter* MxStreamController::FUN_100c1e70(MxDSAction& p_action)
|
||||
MxResult MxStreamController::FUN_100c1f00(MxDSAction* p_action)
|
||||
{
|
||||
// TODO
|
||||
OutputDebugStringA("MxStreamController::FUN_100c1f00\n");
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
@ -266,6 +263,5 @@ MxResult MxStreamController::FUN_100c1f00(MxDSAction* p_action)
|
||||
MxBool MxStreamController::FUN_100c20d0(MxDSObject& p_obj)
|
||||
{
|
||||
// TODO
|
||||
OutputDebugStringA("MxStreamController::FUN_100c20d0\n");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user