Add MxDSAnim, MxDSEvent, MxDSObjectAction, MxDSStill (#112)

* Add MxDSAnim

* Add MxDSEvent, MxDSObjectAction, MxDSStill
This commit is contained in:
Christian Semmler 2023-08-16 19:38:26 -04:00 committed by GitHub
parent 4a2226181c
commit 28f961b86d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 136 additions and 1 deletions

View file

@ -1,5 +1,7 @@
#include "mxdsanim.h" #include "mxdsanim.h"
DECOMP_SIZE_ASSERT(MxDSAnim, 0xb8)
// OFFSET: LEGO1 0x100c8ff0 // OFFSET: LEGO1 0x100c8ff0
MxDSAnim::MxDSAnim() MxDSAnim::MxDSAnim()
{ {
@ -10,3 +12,30 @@ MxDSAnim::MxDSAnim()
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;
}

View file

@ -9,9 +9,11 @@ class MxDSAnim : public MxDSMediaAction
{ {
public: public:
MxDSAnim(); MxDSAnim();
virtual ~MxDSAnim() override; virtual ~MxDSAnim() override;
void CopyFrom(MxDSAnim &p_dsAnim);
MxDSAnim &operator=(MxDSAnim &p_dsAnim);
// OFFSET: LEGO1 0x100c9060 // OFFSET: LEGO1 0x100c9060
inline virtual const char *ClassName() const override // vtable+0x0c 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); return !strcmp(name, MxDSAnim::ClassName()) || MxDSMediaAction::IsA(name);
} }
virtual MxDSAction *Clone(); // vtable+2c;
}; };
#endif // MXDSANIM_H #endif // MXDSANIM_H

View file

@ -1,5 +1,7 @@
#include "mxdsevent.h" #include "mxdsevent.h"
DECOMP_SIZE_ASSERT(MxDSEvent, 0xb8)
// OFFSET: LEGO1 0x100c95f0 // OFFSET: LEGO1 0x100c95f0
MxDSEvent::MxDSEvent() MxDSEvent::MxDSEvent()
{ {
@ -10,3 +12,30 @@ MxDSEvent::MxDSEvent()
MxDSEvent::~MxDSEvent() MxDSEvent::~MxDSEvent()
{ {
} }
// OFFSET: LEGO1 0x100c97f0
void MxDSEvent::CopyFrom(MxDSEvent &p_dsEvent)
{
}
// OFFSET: LEGO1 0x100c9800
MxDSEvent &MxDSEvent::operator=(MxDSEvent &p_dsEvent)
{
if (this == &p_dsEvent)
return *this;
MxDSMediaAction::operator=(p_dsEvent);
this->CopyFrom(p_dsEvent);
return *this;
}
// OFFSET: LEGO1 0x100c9830
MxDSAction *MxDSEvent::Clone()
{
MxDSEvent *clone = new MxDSEvent();
if (clone)
*clone = *this;
return clone;
}

View file

@ -9,6 +9,9 @@ class MxDSEvent : public MxDSMediaAction
MxDSEvent(); MxDSEvent();
virtual ~MxDSEvent() override; virtual ~MxDSEvent() override;
void CopyFrom(MxDSEvent &p_dsEvent);
MxDSEvent &operator=(MxDSEvent &p_dsEvent);
// OFFSET: LEGO1 0x100c9660 // OFFSET: LEGO1 0x100c9660
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c
{ {
@ -21,6 +24,8 @@ class MxDSEvent : public MxDSMediaAction
{ {
return !strcmp(name, MxDSEvent::ClassName()) || MxDSMediaAction::IsA(name); return !strcmp(name, MxDSEvent::ClassName()) || MxDSMediaAction::IsA(name);
} }
virtual MxDSAction *Clone(); // vtable+2c;
}; };
#endif // MXDSEVENT_H #endif // MXDSEVENT_H

View file

@ -1,5 +1,7 @@
#include "mxdsobjectaction.h" #include "mxdsobjectaction.h"
DECOMP_SIZE_ASSERT(MxDSObjectAction, 0xb8)
// OFFSET: LEGO1 0x100c8870 // OFFSET: LEGO1 0x100c8870
MxDSObjectAction::MxDSObjectAction() MxDSObjectAction::MxDSObjectAction()
{ {
@ -10,3 +12,30 @@ MxDSObjectAction::MxDSObjectAction()
MxDSObjectAction::~MxDSObjectAction() MxDSObjectAction::~MxDSObjectAction()
{ {
} }
// OFFSET: LEGO1 0x100c8a70
void MxDSObjectAction::CopyFrom(MxDSObjectAction &p_dsObjectAction)
{
}
// OFFSET: LEGO1 0x100c8a80
MxDSObjectAction &MxDSObjectAction::operator=(MxDSObjectAction &p_dsObjectAction)
{
if (this == &p_dsObjectAction)
return *this;
MxDSMediaAction::operator=(p_dsObjectAction);
this->CopyFrom(p_dsObjectAction);
return *this;
}
// OFFSET: LEGO1 0x100c8ab0
MxDSAction *MxDSObjectAction::Clone()
{
MxDSObjectAction *clone = new MxDSObjectAction();
if (clone)
*clone = *this;
return clone;
}

View file

@ -11,6 +11,8 @@ class MxDSObjectAction : public MxDSMediaAction
MxDSObjectAction(); MxDSObjectAction();
virtual ~MxDSObjectAction() override; virtual ~MxDSObjectAction() override;
MxDSObjectAction &operator=(MxDSObjectAction &p_dsObjectAction);
// OFFSET: LEGO1 0x100c88e0 // OFFSET: LEGO1 0x100c88e0
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c
{ {
@ -23,6 +25,9 @@ class MxDSObjectAction : public MxDSMediaAction
{ {
return !strcmp(name, MxDSObjectAction::ClassName()) || MxDSMediaAction::IsA(name); return !strcmp(name, MxDSObjectAction::ClassName()) || MxDSMediaAction::IsA(name);
} }
virtual MxDSAction *Clone(); // vtable+2c;
virtual void CopyFrom(MxDSObjectAction &p_dsObjectAction); // vtable+44;
}; };
#endif // MXDSOBJECTACTION_H #endif // MXDSOBJECTACTION_H

View file

@ -1,5 +1,7 @@
#include "mxdsstill.h" #include "mxdsstill.h"
DECOMP_SIZE_ASSERT(MxDSStill, 0xb8)
// OFFSET: LEGO1 0x100c98c0 // OFFSET: LEGO1 0x100c98c0
MxDSStill::MxDSStill() MxDSStill::MxDSStill()
{ {
@ -10,3 +12,30 @@ MxDSStill::MxDSStill()
MxDSStill::~MxDSStill() MxDSStill::~MxDSStill()
{ {
} }
// OFFSET: LEGO1 0x100c9ac0
void MxDSStill::CopyFrom(MxDSStill &p_dsStill)
{
}
// OFFSET: LEGO1 0x100c9ad0
MxDSStill &MxDSStill::operator=(MxDSStill &p_dsStill)
{
if (this == &p_dsStill)
return *this;
MxDSMediaAction::operator=(p_dsStill);
this->CopyFrom(p_dsStill);
return *this;
}
// OFFSET: LEGO1 0x100c9b00
MxDSAction *MxDSStill::Clone()
{
MxDSStill *clone = new MxDSStill();
if (clone)
*clone = *this;
return clone;
}

View file

@ -11,6 +11,9 @@ class MxDSStill : public MxDSMediaAction
MxDSStill(); MxDSStill();
virtual ~MxDSStill() override; virtual ~MxDSStill() override;
void CopyFrom(MxDSStill &p_dsStill);
MxDSStill &operator=(MxDSStill &p_dsStill);
// OFFSET: LEGO1 0x100c9930 // OFFSET: LEGO1 0x100c9930
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c
{ {
@ -23,6 +26,8 @@ class MxDSStill : public MxDSMediaAction
{ {
return !strcmp(name, MxDSStill::ClassName()) || MxDSMediaAction::IsA(name); return !strcmp(name, MxDSStill::ClassName()) || MxDSMediaAction::IsA(name);
} }
virtual MxDSAction *Clone(); // vtable+2c;
}; };
#endif // MXDSSTILL_H #endif // MXDSSTILL_H