mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 23:48:12 -05:00
446caa4ca1
* Beta matching MxDSObject/MxDSAction * MxDSAction copy constructor * A bit more refactor --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
44 lines
669 B
C++
44 lines
669 B
C++
#include "mxdsanim.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxDSAnim, 0xb8)
|
|
|
|
// FUNCTION: LEGO1 0x100c8ff0
|
|
// FUNCTION: BETA10 0x1015cd71
|
|
MxDSAnim::MxDSAnim()
|
|
{
|
|
this->SetType(e_anim);
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100c91a0
|
|
MxDSAnim::~MxDSAnim()
|
|
{
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100c91f0
|
|
void MxDSAnim::CopyFrom(MxDSAnim& p_dsAnim)
|
|
{
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100c9200
|
|
MxDSAnim& MxDSAnim::operator=(MxDSAnim& p_dsAnim)
|
|
{
|
|
if (this == &p_dsAnim) {
|
|
return *this;
|
|
}
|
|
|
|
MxDSMediaAction::operator=(p_dsAnim);
|
|
this->CopyFrom(p_dsAnim);
|
|
return *this;
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x100c9230
|
|
MxDSAction* MxDSAnim::Clone()
|
|
{
|
|
MxDSAnim* clone = new MxDSAnim();
|
|
|
|
if (clone) {
|
|
*clone = *this;
|
|
}
|
|
|
|
return clone;
|
|
}
|