mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-03 20:51:16 -05:00
9e686e2a87
* cmake+ci: run clang-tidy * Remove DESCRIPTION from LEGO1/LegoOmni.mingw.def * Add initial .clang-tidy and fixes * fix file perms * Comment out DESCRIPTION * Remove LegoEntity::~LegoEntity and MxPresenter::~MxPresenter from mingw's LEGO1.def * Looks like clang is allergic to the libs in the directx5 SDK * Update .clang-tidy * Fix typo in .clang-tidy * Attempt to generate an action error * Revert "Attempt to generate an action error" This reverts commit 96c4c65fedbc4102837f4bcbbb9ee83a7d14cba3. * cmake: test with -Wparentheses + optionally with -Werror * ci: -k0 is a Ninja argument * Use -Werror only for msys2 builds * cmake: only emit warnings for specific warnings * cmake: and don't do -Werror/-WX anymore * Fix warnings * Fix mingw warnings --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
43 lines
638 B
C++
43 lines
638 B
C++
#include "mxdsanim.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxDSAnim, 0xb8)
|
|
|
|
// FUNCTION: LEGO1 0x100c8ff0
|
|
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;
|
|
}
|