mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 10:41:15 +00:00
Fixes
This commit is contained in:
parent
84a4b3efd2
commit
7b3b82b8d4
@ -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
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user