2023-06-29 04:10:08 -04:00
|
|
|
#ifndef LEGOANIMMMPRESENTER_H
|
|
|
|
#define LEGOANIMMMPRESENTER_H
|
|
|
|
|
|
|
|
#include "mxcompositepresenter.h"
|
|
|
|
|
2024-04-20 09:52:10 -04:00
|
|
|
class LegoAnimPresenter;
|
2024-03-20 17:11:40 -04:00
|
|
|
class LegoWorld;
|
2024-04-20 11:40:23 -04:00
|
|
|
class LegoROI;
|
2024-04-20 09:32:10 -04:00
|
|
|
struct LegoTranInfo;
|
2024-05-03 12:19:12 -04:00
|
|
|
class MxMatrix;
|
2024-03-20 17:11:40 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d7de8
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x74
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoAnimMMPresenter : public MxCompositePresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2024-04-20 11:18:19 -04:00
|
|
|
enum {
|
|
|
|
e_unk0,
|
|
|
|
e_unk1,
|
|
|
|
e_unk2,
|
|
|
|
e_unk3,
|
|
|
|
e_unk4,
|
|
|
|
e_unk5,
|
|
|
|
e_unk6,
|
|
|
|
e_unk7
|
|
|
|
};
|
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoAnimMMPresenter();
|
2024-04-20 12:53:53 -04:00
|
|
|
~LegoAnimMMPresenter() override;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: BETA10 0x1004d840
|
|
|
|
static const char* HandlerClassName()
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f046c
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoAnimMMPresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: LEGO1 0x1004a950
|
|
|
|
// FUNCTION: BETA10 0x1004d810
|
2024-07-04 19:06:32 -04:00
|
|
|
const char* ClassName() const override // vtable+0x0c
|
2024-05-30 13:10:41 -04:00
|
|
|
{
|
|
|
|
return HandlerClassName();
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1004a960
|
2024-07-04 19:06:32 -04:00
|
|
|
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, LegoAnimMMPresenter::ClassName()) || MxCompositePresenter::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2024-01-18 08:34:14 -05: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 RepeatingTickle() override; // vtable+0x24
|
|
|
|
void DoneTickle() override; // vtable+0x2c
|
|
|
|
void ParseExtra() override; // vtable+0x30
|
|
|
|
MxResult StartAction(MxStreamController* p_controller, MxDSAction* p_action) override; // vtable+0x3c
|
|
|
|
void EndAction() override; // vtable+0x40
|
|
|
|
void VTable0x60(MxPresenter* p_presenter) override; // vtable+0x60
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1004aa40
|
|
|
|
// LegoAnimMMPresenter::`scalar deleting destructor'
|
2024-02-27 11:49:31 -05:00
|
|
|
|
2024-05-07 15:59:46 -04:00
|
|
|
void FUN_1004b840();
|
2024-02-27 11:49:31 -05:00
|
|
|
MxBool FUN_1004b8b0();
|
2024-05-07 15:59:46 -04:00
|
|
|
void FUN_1004b8c0();
|
|
|
|
|
2024-07-04 19:06:32 -04:00
|
|
|
LegoAnimPresenter* GetPresenter() { return m_presenter; }
|
2024-03-20 17:11:40 -04:00
|
|
|
|
|
|
|
private:
|
2024-04-20 10:24:12 -04:00
|
|
|
MxBool FUN_1004b450();
|
2024-04-20 11:18:19 -04:00
|
|
|
MxBool FUN_1004b530(MxLong p_time);
|
|
|
|
MxBool FUN_1004b570(MxLong p_time);
|
|
|
|
MxBool FUN_1004b580(MxLong p_time);
|
|
|
|
MxBool FUN_1004b5b0(MxLong p_time);
|
|
|
|
MxBool FUN_1004b600(MxLong p_time);
|
|
|
|
MxBool FUN_1004b610(MxLong p_time);
|
|
|
|
MxBool FUN_1004b6b0(MxLong p_time);
|
|
|
|
MxBool FUN_1004b6d0(MxLong p_time);
|
2024-04-20 10:24:12 -04:00
|
|
|
|
2024-04-20 11:40:23 -04:00
|
|
|
LegoAnimPresenter* m_presenter; // 0x4c
|
|
|
|
MxLong m_unk0x50; // 0x50
|
|
|
|
undefined4 m_unk0x54; // 0x54
|
|
|
|
MxU8 m_unk0x58; // 0x58
|
2024-04-20 11:52:46 -04:00
|
|
|
MxU8 m_unk0x59; // 0x59
|
2024-04-20 11:40:23 -04:00
|
|
|
MxU32 m_animmanId; // 0x5c
|
|
|
|
LegoTranInfo* m_tranInfo; // 0x60
|
|
|
|
LegoWorld* m_unk0x64; // 0x64
|
2024-04-20 12:03:42 -04:00
|
|
|
MxMatrix* m_unk0x68; // 0x68
|
2024-04-20 11:40:23 -04:00
|
|
|
LegoROI** m_roiMap; // 0x6c
|
|
|
|
MxU32 m_roiMapSize; // 0x70
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOANIMMMPRESENTER_H
|