isle-portable/LEGO1/omni/src/action/mxdsanim.cpp
MS 446caa4ca1
Beta matching MxDSObject/MxDSAction (#878)
* Beta matching MxDSObject/MxDSAction

* MxDSAction copy constructor

* A bit more refactor

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2024-05-03 14:01:27 +02:00

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;
}