2023-06-29 04:10:08 -04:00
|
|
|
#include "mxdschunk.h"
|
|
|
|
|
2023-07-16 02:51:11 -04:00
|
|
|
// OFFSET: LEGO1 0x100be050
|
2023-06-29 04:10:08 -04:00
|
|
|
MxDSChunk::MxDSChunk()
|
|
|
|
{
|
2023-07-16 02:51:11 -04:00
|
|
|
this->m_length = 0;
|
2023-10-13 17:36:16 -04:00
|
|
|
this->m_unk18 = NULL;
|
2023-07-16 02:51:11 -04:00
|
|
|
this->m_buffer = -1;
|
2023-10-13 17:36:16 -04:00
|
|
|
this->m_unk10 = 0;
|
|
|
|
this->m_unk14 = 0;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2023-07-16 02:51:11 -04:00
|
|
|
// OFFSET: LEGO1 0x100be170
|
2023-06-29 04:10:08 -04:00
|
|
|
MxDSChunk::~MxDSChunk()
|
|
|
|
{
|
2023-07-16 02:51:11 -04:00
|
|
|
if ((this->m_length & 1) != 0) {
|
2023-10-13 17:36:16 -04:00
|
|
|
delete this->m_unk18;
|
2023-07-16 02:51:11 -04:00
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|