2023-06-27 14:44:02 -04:00
|
|
|
#include "mxdssource.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2023-10-22 15:58:05 -04:00
|
|
|
#include "mxdsbuffer.h"
|
2023-06-27 14:44:02 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100bffd0
|
2023-10-22 15:58:05 -04:00
|
|
|
void MxDSSource::ReadToBuffer(MxDSBuffer* p_buffer)
|
2023-06-27 14:44:02 -04:00
|
|
|
{
|
2023-10-30 09:54:00 -04:00
|
|
|
Read(p_buffer->GetBuffer(), p_buffer->GetWriteOffset());
|
2023-06-27 14:44:02 -04:00
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100bfff0
|
2023-07-02 04:05:49 -04:00
|
|
|
MxLong MxDSSource::GetLengthInDWords()
|
2023-06-27 14:44:02 -04:00
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
return m_lengthInDWords;
|
2023-09-20 16:22:57 -04:00
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100c0000
|
2023-10-24 19:38:27 -04:00
|
|
|
MxU32* MxDSSource::GetBuffer()
|
2023-09-20 16:22:57 -04:00
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
return m_pBuffer;
|
2023-10-22 15:58:05 -04:00
|
|
|
}
|