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