mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-23 08:08:03 -05:00
62b97b8f1f
* implement mxomni::create, and match MxStreamController::Open * Use enum for mxparam type * Fix return type * Match MxOmni::Notify * Remove unused variable * Added override keywords --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
53 lines
1 KiB
C++
53 lines
1 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* action)
|
|
{
|
|
// TODO STUB
|
|
return FAILURE;
|
|
}
|