isle-portable/LEGO1/mxdsaction.cpp
Joshua Peisach a31626cffb
MxDSAction/Chunk/MediaAction/Sound (#85)
* Match MxDSChunk ctor/dtor

* Push work on MxDSAction/MediaAction/Sound

* MxDSMediaAction constructor is matching up to a mov location

* Match MxDSSound constructor by adding the missing member

just four bytes in between them in ghidra.. isn't that enough for ghidra to justify a member variable?

* Match MxDSMediaAction constructor

Today's lesson: ecx suggests '1'
2023-07-15 23:51:11 -07:00

16 lines
No EOL
272 B
C++

#include "mxdsaction.h"
// OFFSET: LEGO1 0x100ad810
MxDSAction::MxDSAction()
{
// TODO
this->SetType(MxDSType_Action);
this->m_omni = NULL;
this->m_someTimingField = -0x80000000;
}
// OFFSET: LEGO1 0x100ada80
MxDSAction::~MxDSAction()
{
delete this->m_unk7c;
}