mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Move CreateStreamObject to proper location (#1249)
This commit is contained in:
committed by
GitHub
parent
c9acd9a49f
commit
5a61cf6566
@@ -8,6 +8,7 @@
|
||||
#define SI_MAJOR_VERSION 2
|
||||
#define SI_MINOR_VERSION 2
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxDSSource, 0x14)
|
||||
DECOMP_SIZE_ASSERT(MxDSFile::ChunkHeader, 0x0c)
|
||||
DECOMP_SIZE_ASSERT(MxDSFile, 0x7c)
|
||||
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
#include "mxdssource.h"
|
||||
|
||||
#include "mxdsbuffer.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxDSSource, 0x14)
|
||||
|
||||
// FUNCTION: LEGO1 0x100bffd0
|
||||
MxResult MxDSSource::ReadToBuffer(MxDSBuffer* p_buffer)
|
||||
{
|
||||
return Read(p_buffer->GetBuffer(), p_buffer->GetWriteOffset());
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100bfff0
|
||||
MxLong MxDSSource::GetLengthInDWords()
|
||||
{
|
||||
return m_lengthInDWords;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100c0000
|
||||
MxU32* MxDSSource::GetBuffer()
|
||||
{
|
||||
return m_pBuffer;
|
||||
}
|
||||
Reference in New Issue
Block a user