2023-06-29 04:10:08 -04:00
|
|
|
#include "mxdsaction.h"
|
|
|
|
|
2023-08-06 13:39:22 -04:00
|
|
|
#include <float.h>
|
|
|
|
#include <limits.h>
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// OFFSET: LEGO1 0x100ad810
|
|
|
|
MxDSAction::MxDSAction()
|
|
|
|
{
|
2023-08-06 13:39:22 -04:00
|
|
|
this->m_flags = 32;
|
|
|
|
this->m_startTime = INT_MIN;
|
|
|
|
this->m_unk7c = NULL;
|
|
|
|
this->m_unk80 = 0;
|
|
|
|
this->m_duration = INT_MIN;
|
|
|
|
this->m_loopCount = -1;
|
|
|
|
|
2023-07-03 13:24:51 -04:00
|
|
|
this->SetType(MxDSType_Action);
|
2023-08-06 13:39:22 -04:00
|
|
|
|
|
|
|
{
|
|
|
|
float value = FLT_MAX;
|
|
|
|
this->m_location.EqualsScalar(&value);
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
float value = FLT_MAX;
|
|
|
|
this->m_direction.EqualsScalar(&value);
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
float value = FLT_MAX;
|
|
|
|
this->m_up.EqualsScalar(&value);
|
|
|
|
}
|
|
|
|
|
|
|
|
this->m_unk84 = 0;
|
|
|
|
this->m_unk88 = 0;
|
2023-07-16 02:51:11 -04:00
|
|
|
this->m_omni = NULL;
|
2023-08-06 13:39:22 -04:00
|
|
|
this->m_someTimingField = INT_MIN;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2023-07-16 02:51:11 -04:00
|
|
|
// OFFSET: LEGO1 0x100ada80
|
2023-06-29 04:10:08 -04:00
|
|
|
MxDSAction::~MxDSAction()
|
|
|
|
{
|
2023-07-16 02:51:11 -04:00
|
|
|
delete this->m_unk7c;
|
2023-08-06 13:39:22 -04:00
|
|
|
}
|