mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-23 07:58:21 -05:00
04b503c79f
* Bootstrap MxMediaPresenter * Add override
19 lines
427 B
C++
19 lines
427 B
C++
#include "mxstreamchunklist.h"
|
|
|
|
#include "mxstreamchunk.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxStreamChunkList, 0x18);
|
|
DECOMP_SIZE_ASSERT(MxStreamChunkListCursor, 0x10);
|
|
|
|
// OFFSET: LEGO1 0x100b5900
|
|
MxS8 MxStreamChunkList::Compare(MxStreamChunk* p_a, MxStreamChunk* p_b)
|
|
{
|
|
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100b5920
|
|
void MxStreamChunkList::Destroy(MxStreamChunk* p_chunk)
|
|
{
|
|
if (p_chunk)
|
|
delete p_chunk;
|
|
}
|