2023-06-29 04:10:08 -04:00
|
|
|
#ifndef LEGOANIMPRESENTER_H
|
|
|
|
#define LEGOANIMPRESENTER_H
|
|
|
|
|
2024-02-23 10:06:16 -05:00
|
|
|
#include "anim/legoanim.h"
|
2024-02-25 12:04:30 -05:00
|
|
|
#include "legoroilist.h"
|
2024-01-15 14:37:50 -05:00
|
|
|
#include "mxgeometry/mxgeometry3d.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxvideopresenter.h"
|
|
|
|
|
2024-01-15 14:37:50 -05:00
|
|
|
class LegoWorld;
|
|
|
|
class LegoAnimClass;
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d90c8
|
2024-01-15 14:37:50 -05:00
|
|
|
// SIZE 0xc0
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoAnimPresenter : public MxVideoPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoAnimPresenter();
|
2024-02-01 15:42:10 -05:00
|
|
|
~LegoAnimPresenter() override;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10068530
|
2024-02-01 15:42:10 -05:00
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f071c
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoAnimPresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10068540
|
2024-02-01 15:42:10 -05:00
|
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, LegoAnimPresenter::ClassName()) || MxVideoPresenter::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
void ReadyTickle() override; // vtable+0x18
|
|
|
|
void StartingTickle() override; // vtable+0x1c
|
|
|
|
void StreamingTickle() override; // vtable+0x20
|
|
|
|
void DoneTickle() override; // vtable+0x2c
|
|
|
|
void ParseExtra() override; // vtable+0x30
|
|
|
|
MxResult AddToManager() override; // vtable+0x34
|
|
|
|
void Destroy() override; // vtable+0x38
|
|
|
|
MxResult StartAction(MxStreamController* p_controller, MxDSAction* p_action) override; // vtable+0x3c
|
|
|
|
void EndAction() override; // vtable+0x40
|
|
|
|
void PutFrame() override; // vtable+0x6c
|
2024-02-25 09:14:39 -05:00
|
|
|
virtual MxResult CreateAnim(MxStreamChunk* p_chunk); // vtable+0x88
|
2024-01-15 14:37:50 -05:00
|
|
|
|
2024-02-18 12:43:42 -05:00
|
|
|
inline LegoAnim* GetAnimation() { return m_anim; }
|
2024-01-26 17:52:03 -05:00
|
|
|
|
2024-01-26 16:00:02 -05:00
|
|
|
const char* GetActionObjectName();
|
2024-01-15 14:37:50 -05:00
|
|
|
|
2024-01-21 09:58:15 -05:00
|
|
|
protected:
|
2023-10-24 19:38:27 -04:00
|
|
|
void Init();
|
2024-01-15 14:37:50 -05:00
|
|
|
void Destroy(MxBool p_fromDestructor);
|
2024-02-25 12:04:30 -05:00
|
|
|
LegoChar* FUN_10069150(const LegoChar*);
|
|
|
|
void FUN_100692b0();
|
2024-02-25 12:55:57 -05:00
|
|
|
void FUN_100695c0();
|
2024-02-25 12:04:30 -05:00
|
|
|
LegoChar* FUN_100697c0(const LegoChar*, LegoChar*);
|
2024-02-25 12:55:57 -05:00
|
|
|
LegoBool FUN_100698b0(CompoundObject&, const LegoChar*);
|
2024-01-15 14:37:50 -05:00
|
|
|
|
2024-02-18 12:43:42 -05:00
|
|
|
LegoAnim* m_anim; // 0x64
|
2024-01-15 14:37:50 -05:00
|
|
|
undefined4 m_unk0x68; // 0x68
|
|
|
|
undefined4 m_unk0x6c; // 0x6c
|
2024-02-25 12:55:57 -05:00
|
|
|
LegoROIList* m_unk0x70; // 0x70
|
2024-02-25 12:04:30 -05:00
|
|
|
LegoROIList* m_unk0x74; // 0x74
|
2024-01-15 14:37:50 -05:00
|
|
|
undefined4 m_unk0x78; // 0x78
|
|
|
|
undefined4 m_unk0x7c; // 0x7c
|
|
|
|
LegoWorld* m_currentWorld; // 0x80
|
|
|
|
MxAtomId m_animAtom; // 0x84
|
|
|
|
undefined4 m_unk0x88; // 0x88
|
|
|
|
undefined4 m_unk0x8c; // 0x8c
|
|
|
|
undefined4 m_unk0x90; // 0x90
|
|
|
|
undefined m_unk0x94; // 0x94
|
|
|
|
undefined m_unk0x95; // 0x95
|
|
|
|
undefined m_unk0x96; // 0x96
|
|
|
|
undefined m_unk0x97; // 0x97
|
|
|
|
undefined4 m_unk0x98; // 0x98
|
|
|
|
MxS16 m_unk0x9c; // 0x9c
|
|
|
|
undefined4 m_unk0xa0; // 0xa0
|
|
|
|
undefined4 m_unk0xa4; // 0xa4
|
|
|
|
Mx3DPointFloat m_unk0xa8; // 0xa8
|
|
|
|
undefined4 m_unk0xbc; // 0xbc
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2024-01-14 16:28:46 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x10068650
|
|
|
|
// LegoAnimPresenter::`scalar deleting destructor'
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
#endif // LEGOANIMPRESENTER_H
|