isle/LEGO1/mxdschunk.cpp
Christian Semmler ba82821501
Implement/match MxMediaPresenter::Tickle and related (#277)
* Bootstrap MxMediaPresenter

* Implement/match MxMediaPresenter::Tickle and related

* Implement AppendChunk and Enable
2023-11-13 12:25:27 +01:00

21 lines
297 B
C++

#include "mxdschunk.h"
DECOMP_SIZE_ASSERT(MxDSChunk, 0x1c);
// OFFSET: LEGO1 0x100be050
MxDSChunk::MxDSChunk()
{
m_flags = 0;
m_data = NULL;
m_unk0c = -1;
m_time = 0;
m_length = 0;
}
// OFFSET: LEGO1 0x100be170
MxDSChunk::~MxDSChunk()
{
if (m_flags & Flag_Bit1) {
delete[] m_data;
}
}