mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
Add MxDSAnim
This commit is contained in:
parent
75c1276292
commit
e95d5b913e
@ -1,5 +1,7 @@
|
||||
#include "mxdsanim.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxDSAnim, 0xb8)
|
||||
|
||||
// OFFSET: LEGO1 0x100c8ff0
|
||||
MxDSAnim::MxDSAnim()
|
||||
{
|
||||
@ -10,3 +12,30 @@ MxDSAnim::MxDSAnim()
|
||||
MxDSAnim::~MxDSAnim()
|
||||
{
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c91f0
|
||||
void MxDSAnim::CopyFrom(MxDSAnim &p_dsAnim)
|
||||
{
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c9200
|
||||
MxDSAnim &MxDSAnim::operator=(MxDSAnim &p_dsAnim)
|
||||
{
|
||||
if (this == &p_dsAnim)
|
||||
return *this;
|
||||
|
||||
MxDSMediaAction::operator=(p_dsAnim);
|
||||
this->CopyFrom(p_dsAnim);
|
||||
return *this;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c9230
|
||||
MxDSAction *MxDSAnim::Clone()
|
||||
{
|
||||
MxDSAnim *clone = new MxDSAnim();
|
||||
|
||||
if (clone)
|
||||
*clone = *this;
|
||||
|
||||
return clone;
|
||||
}
|
||||
@ -9,9 +9,11 @@ class MxDSAnim : public MxDSMediaAction
|
||||
{
|
||||
public:
|
||||
MxDSAnim();
|
||||
|
||||
virtual ~MxDSAnim() override;
|
||||
|
||||
void CopyFrom(MxDSAnim &p_dsAnim);
|
||||
MxDSAnim &operator=(MxDSAnim &p_dsAnim);
|
||||
|
||||
// OFFSET: LEGO1 0x100c9060
|
||||
inline virtual const char *ClassName() const override // vtable+0x0c
|
||||
{
|
||||
@ -24,6 +26,8 @@ class MxDSAnim : public MxDSMediaAction
|
||||
{
|
||||
return !strcmp(name, MxDSAnim::ClassName()) || MxDSMediaAction::IsA(name);
|
||||
}
|
||||
|
||||
virtual MxDSAction *Clone(); // vtable+2c;
|
||||
};
|
||||
|
||||
#endif // MXDSANIM_H
|
||||
|
||||
Loading…
Reference in New Issue
Block a user