This commit is contained in:
Christian Semmler 2024-01-21 09:53:57 -05:00
parent 84a4b3efd2
commit 7b3b82b8d4
2 changed files with 11 additions and 2 deletions

View File

@ -4,10 +4,11 @@
#include "legoloopinganimpresenter.h"
// VTABLE: LEGO1 0x100d9170
// SIZE 0xD8
// SIZE 0xd8
class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
public:
LegoLocomotionAnimPresenter();
virtual ~LegoLocomotionAnimPresenter() override;
// FUNCTION: LEGO1 0x1006ce50
inline const char* ClassName() const override // vtable+0xc

View File

@ -9,15 +9,21 @@ LegoLocomotionAnimPresenter::LegoLocomotionAnimPresenter()
Init();
}
// FUNCTION: LEGO1 0x1006d050
LegoLocomotionAnimPresenter::~LegoLocomotionAnimPresenter()
{
Destroy(TRUE);
}
// FUNCTION: LEGO1 0x1006d0b0
void LegoLocomotionAnimPresenter::Init()
{
m_unk0xc0 = 0;
m_unk0xc4 = 0;
m_unk0xd4 = 0;
m_unk0xcc = -1;
m_unk0xd0 = -1;
m_unk0xc8 = 0;
m_unk0xd4 = 0;
}
// FUNCTION: LEGO1 0x1006d0e0
@ -32,8 +38,10 @@ void LegoLocomotionAnimPresenter::Destroy(MxBool p_fromDestructor)
if (m_unk0xc8) {
delete m_unk0xc8;
}
m_unk0x68 = 0;
Init();
m_criticalSection.Leave();
if (!p_fromDestructor) {