mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 23:48:12 -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
832 B
C++
34 lines
832 B
C++
#include "mxdsactionlist.h"
|
|
|
|
#include "mxdsaction.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxDSActionList, 0x1c);
|
|
DECOMP_SIZE_ASSERT(MxDSActionListCursor, 0x10);
|
|
|
|
// OFFSET: LEGO1 0x100c9c90
|
|
MxS8 MxDSActionList::Compare(MxDSAction* p_a, MxDSAction* p_b)
|
|
{
|
|
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c9cb0
|
|
void MxDSActionList::Destroy(MxDSAction* p_action)
|
|
{
|
|
if (p_action)
|
|
delete p_action;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c9cc0 TEMPLATE
|
|
// MxCollection<MxDSAction *>::Compare
|
|
|
|
// OFFSET: LEGO1 0x100c9d20 TEMPLATE
|
|
// MxCollection<MxDSAction *>::Destroy
|
|
|
|
// OFFSET: LEGO1 0x100c9d30 TEMPLATE
|
|
// MxList<MxDSAction *>::~MxList<MxDSAction *>
|
|
|
|
// OFFSET: LEGO1 0x100c9e30 TEMPLATE
|
|
// MxCollection<MxDSAction *>::`scalar deleting destructor'
|
|
|
|
// OFFSET: LEGO1 0x100c9ea0 TEMPLATE
|
|
// MxList<MxDSAction *>::`scalar deleting destructor'
|