mirror of
https://github.com/isledecomp/isle.git
synced 2024-12-02 04:17:25 -05:00
0bb3ea6a03
* MxList refactor * Reorder LegoPathControllerList::Destroy * MxPtrList custom destructor and more offsets Co-authored-by: Christian Semmler <mail@csemmler.com> * Fix member offset comments in collection classes * Fix template annotations --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
34 lines
874 B
C++
34 lines
874 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;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100b5930 TEMPLATE
|
|
// MxCollection<MxStreamChunk *>::Compare
|
|
|
|
// OFFSET: LEGO1 0x100b5990 TEMPLATE
|
|
// MxCollection<MxStreamChunk *>::Destroy
|
|
|
|
// OFFSET: LEGO1 0x100b59a0 TEMPLATE
|
|
// MxList<MxStreamChunk *>::~MxList<MxStreamChunk *>
|
|
|
|
// OFFSET: LEGO1 0x100b5aa0 TEMPLATE
|
|
// MxCollection<MxStreamChunk *>::`scalar deleting destructor'
|
|
|
|
// OFFSET: LEGO1 0x100b5b10 TEMPLATE
|
|
// MxList<MxStreamChunk *>::`scalar deleting destructor'
|