2023-06-29 04:10:08 -04:00
|
|
|
#ifndef LEGOHIDEANIMPRESENTER_H
|
|
|
|
#define LEGOHIDEANIMPRESENTER_H
|
|
|
|
|
2024-01-17 12:24:05 -05:00
|
|
|
#include "decomp.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoloopinganimpresenter.h"
|
|
|
|
|
2024-05-14 14:50:37 -04:00
|
|
|
class LegoPathBoundary;
|
|
|
|
|
|
|
|
struct LegoHideAnimStructComparator {
|
|
|
|
MxBool operator()(const char* const& p_a, const char* const& p_b) const { return strcmp(p_a, p_b) < 0; }
|
|
|
|
};
|
|
|
|
|
|
|
|
// SIZE 0x08
|
|
|
|
struct LegoHideAnimStruct {
|
|
|
|
LegoPathBoundary* m_boundary; // 0x00
|
|
|
|
MxU32 m_index; // 0x04
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef map<const char*, LegoHideAnimStruct, LegoHideAnimStructComparator> LegoHideAnimStructMap;
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d9278
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0xc4
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoHideAnimPresenter : public LegoLoopingAnimPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoHideAnimPresenter();
|
2024-02-01 15:42:10 -05:00
|
|
|
~LegoHideAnimPresenter() override;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1006d880
|
2024-01-29 16:17:17 -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 0x100f06cc
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoHideAnimPresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1006d890
|
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()) || LegoAnimPresenter::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+0x18
|
|
|
|
MxResult AddToManager() override; // vtable+0x34
|
|
|
|
void Destroy() override; // vtable+0x38
|
|
|
|
void EndAction() override; // vtable+0x40
|
|
|
|
void PutFrame() override; // vtable+0x6c
|
2024-02-27 11:49:31 -05:00
|
|
|
void VTable0x8c() override; // vtable+0x8c
|
|
|
|
void VTable0x90() override; // vtable+0x90
|
2024-01-17 12:24:05 -05:00
|
|
|
|
2024-05-21 15:03:50 -04:00
|
|
|
void FUN_1006db40(LegoTime p_time);
|
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
private:
|
|
|
|
void Init();
|
2024-01-17 12:24:05 -05:00
|
|
|
void Destroy(MxBool p_fromDestructor);
|
2024-05-14 14:50:37 -04:00
|
|
|
void FUN_1006db60(LegoTreeNode* p_node, LegoTime p_time);
|
2024-05-14 10:15:35 -04:00
|
|
|
void FUN_1006dc10();
|
2024-05-14 14:50:37 -04:00
|
|
|
void FUN_1006e3f0(LegoHideAnimStructMap& p_map, LegoTreeNode* p_node);
|
|
|
|
void FUN_1006e470(
|
|
|
|
LegoHideAnimStructMap& p_map,
|
|
|
|
LegoAnimNodeData* p_data,
|
|
|
|
const char* p_name,
|
|
|
|
LegoPathBoundary* p_boundary
|
|
|
|
);
|
2024-01-17 12:24:05 -05:00
|
|
|
|
2024-05-14 14:50:37 -04:00
|
|
|
LegoPathBoundary** m_boundaryMap; // 0xc0
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2024-05-14 14:50:37 -04:00
|
|
|
// clang-format off
|
2024-01-14 16:28:46 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1006d9d0
|
|
|
|
// LegoHideAnimPresenter::`scalar deleting destructor'
|
|
|
|
|
2024-05-14 14:50:37 -04:00
|
|
|
// TEMPLATE: LEGO1 0x1006ddb0
|
|
|
|
// _Tree<char const *,pair<char const * const,LegoHideAnimStruct>,map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::_Kfn,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::~_Tree<char const *,pair<ch
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1006de80
|
|
|
|
// _Tree<char const *,pair<char const * const,LegoHideAnimStruct>,map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::_Kfn,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::iterator::_Inc
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1006dec0
|
|
|
|
// _Tree<char const *,pair<char const * const,LegoHideAnimStruct>,map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::_Kfn,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::erase
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1006e310
|
|
|
|
// _Tree<char const *,pair<char const * const,LegoHideAnimStruct>,map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::_Kfn,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::_Erase
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1006e350
|
|
|
|
// Map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator>::~Map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator>
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1006e3a0
|
|
|
|
// map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::~map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1006e6d0
|
|
|
|
// _Tree<char const *,pair<char const * const,LegoHideAnimStruct>,map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::_Kfn,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::iterator::_Dec
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1006e720
|
|
|
|
// _Tree<char const *,pair<char const * const,LegoHideAnimStruct>,map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::_Kfn,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::_Insert
|
|
|
|
|
|
|
|
// GLOBAL: LEGO1 0x100f768c
|
|
|
|
// _Tree<char const *,pair<char const * const,LegoHideAnimStruct>,map<char const *,LegoHideAnimStruct,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::_Kfn,LegoHideAnimStructComparator,allocator<LegoHideAnimStruct> >::_Nil
|
|
|
|
// clang-format on
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
#endif // LEGOHIDEANIMPRESENTER_H
|