mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-03 05:31:17 +00:00
add stubbed functions for MxStreamController used by MxStreamer
This commit is contained in:
parent
7827e3a962
commit
489f08e35f
@ -1,8 +1,32 @@
|
|||||||
#include "mxstreamcontroller.h"
|
#include "mxstreamcontroller.h"
|
||||||
|
|
||||||
|
#include "mxautolocker.h"
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x100c0b90 STUB
|
||||||
|
MxStreamController::MxStreamController()
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x100c1290 STUB
|
||||||
|
MxStreamController::~MxStreamController()
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100c20d0 STUB
|
// OFFSET: LEGO1 0x100c20d0 STUB
|
||||||
MxBool MxStreamController::IsStillInUse()
|
MxBool MxStreamController::CanBeDeleted()
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x100c1520
|
||||||
|
MxResult MxStreamController::Open(const char *p_filename)
|
||||||
|
{
|
||||||
|
MxAutoLocker locker(&m_criticalSection);
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
|
||||||
|
return SUCCESS;
|
||||||
|
}
|
||||||
|
|||||||
@ -1,14 +1,20 @@
|
|||||||
#ifndef MXSTREAMCONTROLLER_H
|
#ifndef MXSTREAMCONTROLLER_H
|
||||||
#define MXSTREAMCONTROLLER_H
|
#define MXSTREAMCONTROLLER_H
|
||||||
|
|
||||||
|
#include "decomp.h"
|
||||||
#include "mxatomid.h"
|
#include "mxatomid.h"
|
||||||
#include "mxcriticalsection.h"
|
#include "mxcriticalsection.h"
|
||||||
#include "mxcore.h"
|
#include "mxcore.h"
|
||||||
|
|
||||||
// VTABLE 0x100dc968
|
// VTABLE 0x100dc968
|
||||||
|
// SIZE 0x64
|
||||||
class MxStreamController : public MxCore
|
class MxStreamController : public MxCore
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
MxStreamController();
|
||||||
|
|
||||||
|
virtual ~MxStreamController() override; // vtable+0x0
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100c0f10
|
// OFFSET: LEGO1 0x100c0f10
|
||||||
inline virtual const char *ClassName() const override // vtable+0xc
|
inline virtual const char *ClassName() const override // vtable+0xc
|
||||||
{
|
{
|
||||||
@ -22,12 +28,15 @@ class MxStreamController : public MxCore
|
|||||||
return !strcmp(name, MxStreamController::ClassName()) || MxCore::IsA(name);
|
return !strcmp(name, MxStreamController::ClassName()) || MxCore::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
MxBool IsStillInUse();
|
virtual MxResult Open(const char *p_filename); // vtable+0x14
|
||||||
|
|
||||||
|
MxBool CanBeDeleted();
|
||||||
|
|
||||||
MxCriticalSection m_criticalSection;
|
MxCriticalSection m_criticalSection;
|
||||||
MxAtomId atom;
|
MxAtomId atom;
|
||||||
int m_unk28;
|
int m_unk28;
|
||||||
int m_unk2c;
|
int m_unk2c;
|
||||||
|
undefined m_unk30[0x34];
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MXSTREAMCONTROLLER_H
|
#endif // MXSTREAMCONTROLLER_H
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user