mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -05:00
20daddde32
* push changes * Update mxstreamcontroller.cpp * fix build * MxStreamChunk * fix format * Match functions * Add a comment --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
21 lines
304 B
C++
21 lines
304 B
C++
#include "mxdschunk.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxDSChunk, 0x1c);
|
|
|
|
// FUNCTION: LEGO1 0x100be050
|
|
MxDSChunk::MxDSChunk()
|
|
{
|
|
m_flags = 0;
|
|
m_data = NULL;
|
|
m_objectId = -1;
|
|
m_time = 0;
|
|
m_length = 0;
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100be170
|
|
MxDSChunk::~MxDSChunk()
|
|
{
|
|
if (m_flags & Flag_Bit1) {
|
|
delete[] m_data;
|
|
}
|
|
}
|