2023-09-25 22:30:56 -04:00
|
|
|
#include "mxstreamcontroller.h"
|
|
|
|
|
|
|
|
#include "mxautolocker.h"
|
2023-10-07 14:05:45 -04:00
|
|
|
#include "legoomni.h"
|
2023-09-25 22:30:56 -04:00
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c0b90 STUB
|
|
|
|
MxStreamController::MxStreamController()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c1290 STUB
|
|
|
|
MxStreamController::~MxStreamController()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c20d0 STUB
|
|
|
|
MxBool MxStreamController::FUN_100c20d0(MxDSObject &p_obj)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c1520
|
|
|
|
MxResult MxStreamController::Open(const char *p_filename)
|
|
|
|
{
|
2023-10-07 14:05:45 -04:00
|
|
|
char sourceName [256];
|
2023-09-25 22:30:56 -04:00
|
|
|
MxAutoLocker locker(&m_criticalSection);
|
|
|
|
|
2023-10-07 14:05:45 -04:00
|
|
|
MakeSourceName(sourceName, p_filename);
|
|
|
|
this->atom = MxAtomId(sourceName, LookupMode_LowerCase2);
|
2023-09-25 22:30:56 -04:00
|
|
|
return SUCCESS;
|
|
|
|
}
|
2023-10-07 09:05:44 -04:00
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100b9400
|
|
|
|
MxResult MxStreamController::vtable0x18(undefined4 p_unknown, undefined4 p_unknown2)
|
|
|
|
{
|
|
|
|
return FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100b9410
|
|
|
|
MxResult MxStreamController::vtable0x1C(undefined4 p_unknown, undefined4 p_unknown2)
|
|
|
|
{
|
|
|
|
return FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c1690 STUB
|
|
|
|
MxResult MxStreamController::vtable0x20(MxDSAction* action)
|
|
|
|
{
|
|
|
|
// TODO STUB
|
|
|
|
return FAILURE;
|
|
|
|
}
|