mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match MxDSAction constructor (#101)
* Implement MxDSAction constructor * Update mxdsaction.cpp
This commit is contained in:

committed by
GitHub

parent
71950cd40a
commit
c48fc69cf3
@@ -1,16 +1,43 @@
|
||||
#include "mxdsaction.h"
|
||||
|
||||
#include <float.h>
|
||||
#include <limits.h>
|
||||
|
||||
// OFFSET: LEGO1 0x100ad810
|
||||
MxDSAction::MxDSAction()
|
||||
{
|
||||
// TODO
|
||||
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;
|
||||
|
||||
this->SetType(MxDSType_Action);
|
||||
|
||||
{
|
||||
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;
|
||||
this->m_omni = NULL;
|
||||
this->m_someTimingField = -0x80000000;
|
||||
this->m_someTimingField = INT_MIN;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100ada80
|
||||
MxDSAction::~MxDSAction()
|
||||
{
|
||||
delete this->m_unk7c;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user