2023-09-20 16:36:15 -04:00
|
|
|
#include "mxdsactionlist.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2023-09-20 16:36:15 -04:00
|
|
|
#include "mxdsaction.h"
|
|
|
|
|
|
|
|
DECOMP_SIZE_ASSERT(MxDSActionList, 0x1c);
|
2023-09-25 15:53:57 -04:00
|
|
|
DECOMP_SIZE_ASSERT(MxDSActionListCursor, 0x10);
|
2023-09-20 16:36:15 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100c9c90
|
2023-11-12 07:47:01 -05:00
|
|
|
MxS8 MxDSActionList::Compare(MxDSAction* p_a, MxDSAction* p_b)
|
2023-09-20 16:36:15 -04:00
|
|
|
{
|
2023-11-12 07:47:01 -05:00
|
|
|
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
|
2023-09-20 16:36:15 -04:00
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100c9cb0
|
2023-10-24 19:38:27 -04:00
|
|
|
void MxDSActionList::Destroy(MxDSAction* p_action)
|
2023-09-20 16:36:15 -04:00
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
if (p_action)
|
|
|
|
delete p_action;
|
2023-10-25 14:51:59 -04:00
|
|
|
}
|