mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Fixes
This commit is contained in:
parent
84a4b3efd2
commit
7b3b82b8d4
@ -4,10 +4,11 @@
|
|||||||
#include "legoloopinganimpresenter.h"
|
#include "legoloopinganimpresenter.h"
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100d9170
|
// VTABLE: LEGO1 0x100d9170
|
||||||
// SIZE 0xD8
|
// SIZE 0xd8
|
||||||
class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
|
class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
|
||||||
public:
|
public:
|
||||||
LegoLocomotionAnimPresenter();
|
LegoLocomotionAnimPresenter();
|
||||||
|
virtual ~LegoLocomotionAnimPresenter() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006ce50
|
// FUNCTION: LEGO1 0x1006ce50
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0xc
|
||||||
|
|||||||
@ -9,15 +9,21 @@ LegoLocomotionAnimPresenter::LegoLocomotionAnimPresenter()
|
|||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FUNCTION: LEGO1 0x1006d050
|
||||||
|
LegoLocomotionAnimPresenter::~LegoLocomotionAnimPresenter()
|
||||||
|
{
|
||||||
|
Destroy(TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006d0b0
|
// FUNCTION: LEGO1 0x1006d0b0
|
||||||
void LegoLocomotionAnimPresenter::Init()
|
void LegoLocomotionAnimPresenter::Init()
|
||||||
{
|
{
|
||||||
m_unk0xc0 = 0;
|
m_unk0xc0 = 0;
|
||||||
m_unk0xc4 = 0;
|
m_unk0xc4 = 0;
|
||||||
m_unk0xd4 = 0;
|
|
||||||
m_unk0xcc = -1;
|
m_unk0xcc = -1;
|
||||||
m_unk0xd0 = -1;
|
m_unk0xd0 = -1;
|
||||||
m_unk0xc8 = 0;
|
m_unk0xc8 = 0;
|
||||||
|
m_unk0xd4 = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006d0e0
|
// FUNCTION: LEGO1 0x1006d0e0
|
||||||
@ -32,8 +38,10 @@ void LegoLocomotionAnimPresenter::Destroy(MxBool p_fromDestructor)
|
|||||||
if (m_unk0xc8) {
|
if (m_unk0xc8) {
|
||||||
delete m_unk0xc8;
|
delete m_unk0xc8;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_unk0x68 = 0;
|
m_unk0x68 = 0;
|
||||||
Init();
|
Init();
|
||||||
|
|
||||||
m_criticalSection.Leave();
|
m_criticalSection.Leave();
|
||||||
|
|
||||||
if (!p_fromDestructor) {
|
if (!p_fromDestructor) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user