mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-30 03:15:34 -05:00
20 lines
427 B
C++
20 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;
|
||
|
}
|