mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 19:05:34 -05:00
d82649c6f0
* MxStreamProvider and MxRamStreamProvider vtable * Update mxramstreamprovider.h * Match IsA * Fixes, improvements --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
78 lines
1.5 KiB
C++
78 lines
1.5 KiB
C++
#include "mxstreamcontroller.h"
|
|
|
|
#include "mxautolocker.h"
|
|
#include "legoomni.h"
|
|
|
|
// 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)
|
|
{
|
|
char sourceName [256];
|
|
MxAutoLocker locker(&m_criticalSection);
|
|
|
|
MakeSourceName(sourceName, p_filename);
|
|
this->atom = MxAtomId(sourceName, LookupMode_LowerCase2);
|
|
return SUCCESS;
|
|
}
|
|
|
|
// 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* p_action)
|
|
{
|
|
// TODO STUB
|
|
return FAILURE;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c1740 STUB
|
|
MxResult MxStreamController::vtable0x24(undefined4 p_unknown)
|
|
{
|
|
// TODO STUB
|
|
return FAILURE;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100b9420
|
|
MxResult MxStreamController::vtable0x28()
|
|
{
|
|
return SUCCESS;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c1c10 STUB
|
|
MxResult MxStreamController::vtable0x2c(undefined4 p_unknown1, undefined4 p_unknow2)
|
|
{
|
|
return FAILURE;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c1ce0 STUB
|
|
MxResult MxStreamController::vtable0x30(undefined4 p_unknown)
|
|
{
|
|
return FAILURE;
|
|
}
|