mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match MxMediaPresenter::Tickle and related (#277)
* Bootstrap MxMediaPresenter * Implement/match MxMediaPresenter::Tickle and related * Implement AppendChunk and Enable
This commit is contained in:

committed by
GitHub

parent
a087c666b4
commit
ba82821501
@@ -1,19 +1,21 @@
|
||||
#include "mxdschunk.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxDSChunk, 0x1c);
|
||||
|
||||
// OFFSET: LEGO1 0x100be050
|
||||
MxDSChunk::MxDSChunk()
|
||||
{
|
||||
this->m_length = 0;
|
||||
this->m_unk18 = NULL;
|
||||
this->m_buffer = -1;
|
||||
this->m_unk10 = 0;
|
||||
this->m_unk14 = 0;
|
||||
m_flags = 0;
|
||||
m_data = NULL;
|
||||
m_unk0c = -1;
|
||||
m_time = 0;
|
||||
m_length = 0;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100be170
|
||||
MxDSChunk::~MxDSChunk()
|
||||
{
|
||||
if ((this->m_length & 1) != 0) {
|
||||
delete this->m_unk18;
|
||||
if (m_flags & Flag_Bit1) {
|
||||
delete[] m_data;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user