2023-06-29 04:10:08 -04:00
|
|
|
#ifndef LEGOLOCOMOTIONANIMPRESENTER_H
|
|
|
|
#define LEGOLOCOMOTIONANIMPRESENTER_H
|
|
|
|
|
|
|
|
#include "legoloopinganimpresenter.h"
|
2024-05-15 15:29:00 -04:00
|
|
|
#include "legoroimaplist.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d9170
|
2024-01-21 09:58:15 -05:00
|
|
|
// SIZE 0xd8
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoLocomotionAnimPresenter();
|
2024-02-01 15:42:10 -05:00
|
|
|
~LegoLocomotionAnimPresenter() override;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: BETA10 0x1005c4e0
|
|
|
|
static const char* HandlerClassName()
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f06e4
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoLocomotionAnimPresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: LEGO1 0x1006ce50
|
|
|
|
// FUNCTION: BETA10 0x1005c4b0
|
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
|
|
|
return HandlerClassName();
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1006ce60
|
2023-12-13 05:48:14 -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, ClassName()) || LegoLoopingAnimPresenter::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
|
|
|
|
MxResult AddToManager() override; // vtable+0x34
|
|
|
|
void Destroy() override; // vtable+0x38
|
|
|
|
void EndAction() override; // vtable+0x40
|
|
|
|
void PutFrame() override; // vtable+0x6c
|
2024-02-25 09:14:39 -05:00
|
|
|
MxResult CreateAnim(MxStreamChunk* p_chunk) override; // vtable+0x88
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1006cfe0
|
|
|
|
// LegoLocomotionAnimPresenter::`scalar deleting destructor'
|
|
|
|
|
2024-04-24 09:51:28 -04:00
|
|
|
void FUN_1006d680(LegoAnimActor* p_actor, MxFloat p_value);
|
|
|
|
|
2024-01-27 11:48:50 -05:00
|
|
|
inline void DecrementUnknown0xd4()
|
|
|
|
{
|
2024-02-01 15:42:10 -05:00
|
|
|
if (m_unk0xd4) {
|
2024-01-27 11:48:50 -05:00
|
|
|
--m_unk0xd4;
|
2024-02-01 15:42:10 -05:00
|
|
|
}
|
2024-01-27 11:48:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
inline undefined2 GetUnknown0xd4() { return m_unk0xd4; }
|
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
private:
|
|
|
|
void Init();
|
2024-01-21 09:58:15 -05:00
|
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
|
2024-05-15 15:29:00 -04:00
|
|
|
undefined4 m_unk0xc0; // 0xc0
|
|
|
|
undefined4* m_unk0xc4; // 0xc4
|
|
|
|
LegoROIMapList* m_roiMapList; // 0xc8
|
|
|
|
MxS32 m_unk0xcc; // 0xcc
|
|
|
|
MxS32 m_unk0xd0; // 0xd0
|
|
|
|
undefined2 m_unk0xd4; // 0xd4
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOLOCOMOTIONANIMPRESENTER_H
|