isle/LEGO1/mxdsactionlist.cpp

20 lines
403 B
C++
Raw Normal View History

#include "mxdsactionlist.h"
2023-10-24 19:38:27 -04:00
#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
2023-10-24 19:38:27 -04:00
void MxDSActionList::Destroy(MxDSAction* p_action)
{
2023-10-24 19:38:27 -04:00
if (p_action)
delete p_action;
}