2024-06-03 12:53:25 -04:00
|
|
|
#ifndef LEGOCARBUILDPRESENTER_H
|
|
|
|
#define LEGOCARBUILDPRESENTER_H
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-03 12:19:12 -04:00
|
|
|
#include "anim/legoanim.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoanimpresenter.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d99e0
|
2024-09-12 15:51:33 -04:00
|
|
|
// VTABLE: BETA10 0x101bb988
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x150
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoCarBuildAnimPresenter : public LegoAnimPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2024-09-12 15:51:33 -04:00
|
|
|
// SIZE 0x0c
|
|
|
|
struct UnknownListEntry {
|
|
|
|
LegoChar* m_unk0x00; // 0x00
|
|
|
|
LegoChar* m_unk0x04; // 0x04
|
|
|
|
undefined m_unk0x08[4]; // 0x08
|
|
|
|
};
|
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoCarBuildAnimPresenter();
|
2024-02-01 15:42:10 -05:00
|
|
|
~LegoCarBuildAnimPresenter() override; // vtable+0x00
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: BETA10 0x10073290
|
|
|
|
static const char* HandlerClassName()
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f05ec
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoCarBuildAnimPresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: LEGO1 0x10078510
|
|
|
|
// FUNCTION: BETA10 0x10073260
|
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 0x10078520
|
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, LegoCarBuildAnimPresenter::ClassName()) || LegoAnimPresenter::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 StreamingTickle() override; // vtable+0x20
|
|
|
|
void RepeatingTickle() override; // vtable+0x24
|
|
|
|
void EndAction() override; // vtable+0x40
|
|
|
|
void PutFrame() override; // vtable+0x6c
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-10-05 19:20:45 -04:00
|
|
|
void FUN_10079050(MxS16 p_index);
|
|
|
|
void FUN_10079090(LegoChar* p_param1, LegoChar* p_param2);
|
2024-10-04 11:19:42 -04:00
|
|
|
void FUN_10079160();
|
2024-10-05 19:20:45 -04:00
|
|
|
void FUN_100795d0(LegoChar* p_param);
|
|
|
|
void FUN_10079680(LegoChar* p_param);
|
2024-10-04 11:19:42 -04:00
|
|
|
void RotateAroundYAxis(MxFloat p_angle);
|
2024-09-14 19:14:11 -04:00
|
|
|
MxBool FUN_10079c30(const LegoChar* p_name);
|
|
|
|
MxBool FUN_10079ca0(const LegoChar* p_name);
|
|
|
|
MxBool FUN_10079cf0(const LegoChar* p_string);
|
2024-09-12 15:51:33 -04:00
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x10070180
|
|
|
|
void SetUnknown0xbc(undefined2 p_unk0xbc) { m_unk0xbc = p_unk0xbc; }
|
|
|
|
|
|
|
|
MxBool StringEndsOnYOrN(const LegoChar* p_string);
|
|
|
|
|
|
|
|
const BoundingSphere& FUN_10079e20();
|
2024-09-03 16:50:30 -04:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x10078660
|
|
|
|
// LegoCarBuildAnimPresenter::`scalar deleting destructor'
|
2024-03-22 21:30:58 -04:00
|
|
|
|
|
|
|
private:
|
2024-09-12 15:51:33 -04:00
|
|
|
undefined2 m_unk0xbc; // 0xbc
|
|
|
|
MxS16 m_unk0xbe; // 0xbe
|
|
|
|
MxS16 m_unk0xc0; // 0xc0
|
2024-10-04 11:19:42 -04:00
|
|
|
LegoAnimNodeData* m_unk0xc4; // 0xc4
|
2024-09-12 15:51:33 -04:00
|
|
|
LegoAnim m_unk0xc8; // 0xc8
|
|
|
|
MxMatrix m_unk0xe0; // 0xe0
|
|
|
|
UnknownListEntry* m_unk0x128; // 0x128
|
2024-10-04 11:19:42 -04:00
|
|
|
MxFloat m_unk0x12c; // 0x12c
|
2024-09-12 15:51:33 -04:00
|
|
|
undefined4 m_unk0x130; // 0x130
|
|
|
|
undefined4 m_unk0x134; // 0x134
|
|
|
|
undefined4 m_unk0x138; // 0x138
|
|
|
|
undefined4 m_unk0x13c; // 0x13c
|
|
|
|
LegoEntity* m_unk0x140; // 0x140
|
|
|
|
MxS32 m_unk0x144; // 0x144
|
|
|
|
MxS32 m_unk0x148; // 0x148
|
2024-10-05 19:20:45 -04:00
|
|
|
|
|
|
|
// name verified by BETA10 0x10070d63
|
|
|
|
LegoChar* m_mainSourceId; // 0x14c
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2024-06-03 12:53:25 -04:00
|
|
|
#endif // LEGOCARBUILDPRESENTER_H
|