mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 09:24:17 +00:00
implement a few mxstream* methods (#252)
* commit code * commit code * Update mxdiskstreamprovider.cpp * Update mxstreamprovider.h * improve match + add html file to gitignore * improve match of MxRAMStreamController::Open * MxDiskStreamController::Open * Match some functions, relocate m_target to `MxThread` --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#include "mxcore.h"
|
||||
#include "mxdsfile.h"
|
||||
|
||||
class MxStreamController;
|
||||
|
||||
// VTABLE 0x100dd100
|
||||
// SIZE 0x10
|
||||
class MxStreamProvider : public MxCore {
|
||||
@@ -23,15 +25,15 @@ public:
|
||||
return !strcmp(name, MxStreamProvider::ClassName()) || MxCore::IsA(name);
|
||||
}
|
||||
|
||||
virtual MxResult SetResourceToGet(void* p_resource); // vtable+0x14
|
||||
virtual MxU32 GetFileSize() = 0; // vtable+0x18
|
||||
virtual MxU32 GetStreamBuffersNum() = 0; // vtable+0x1c
|
||||
virtual void vtable0x20(undefined4 p_unknown1); // vtable+0x20
|
||||
virtual MxU32 GetLengthInDWords() = 0; // vtable+0x24
|
||||
virtual MxU32* GetBufferForDWords() = 0; // vtable+0x28
|
||||
virtual MxResult SetResourceToGet(MxStreamController* p_resource); // vtable+0x14
|
||||
virtual MxU32 GetFileSize() = 0; // vtable+0x18
|
||||
virtual MxU32 GetStreamBuffersNum() = 0; // vtable+0x1c
|
||||
virtual void vtable0x20(undefined4 p_unknown1); // vtable+0x20
|
||||
virtual MxU32 GetLengthInDWords() = 0; // vtable+0x24
|
||||
virtual MxU32* GetBufferForDWords() = 0; // vtable+0x28
|
||||
|
||||
protected:
|
||||
void* m_pLookup;
|
||||
MxStreamController* m_pLookup;
|
||||
MxDSFile* m_pFile;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user