mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
* Implement/match LegoAnimationManager::FUN_10064b50 (#926) * Implement/match LegoAnimationManager::FUN_10063d10 (#927) * Implement/match LegoAnimationManager::FUN_10064380 (#928) * Implement/match LegoAnimationManager::FUN_10064380 * Fix naming * Revert * Implement/matche LegoAnimationManager::FUN_10064740 and FUN_10064670 (#929) * Implement/match FUN_1003ef00 and related (#931) * Implement/match LegoAnimationManager::FUN_10064120 (#932) * Implement/match LegoAnimationManager::FUN_10064120 * Fix naming * Fix parentheses * Implement LegoAnimationManager::FUN_10064010 (#933) * Implement/match ViewManager::FUN_100a6150 (#934) * Implement/match PlayCamAnim and CameraTriggerFire (#935) * Implement/match PlayCamAnim and CameraTriggerFire * Fix type * Name var * Implement/match LegoAnimationManager::FUN_10063fb0 (#936) * basic name improvements (#930) * basic name improvements * clang-format --------- Co-authored-by: Christian Semmler <mail@csemmler.com> * Implement/match LegoPathBoundary::Intersect (#937) * Implement LegoPathActor::VTable0x68 (#938) * Implement LegoPathActor::VTable0x68 * Fix naming * Implement/match LegoPathBoundary::FUN_100575b0 (#939) * Implement LegoUnknown::FUN_1009a1e0 (#940) * Implement/match LegoPathController::FUN_1004a240 (#941) * Implement LegoPathActor::VTable0x9c (#942) * Implement LegoPathActor::VTable0x9c * Add annotation * Implement/match LegoPathActor::SwitchBoundary (#943) * Implement/match LegoPathActor::SwitchBoundary * Rename var * Implement/match LegoPathStruct (#944) * Implement/match LegoPathStruct * Rename some nums * Consistent naming * Naming * relax regex * Name some functions * Improve naming * Rename * Implement/match LegoPathActor::VTable0xa4 and VTable0xa8 (#945) * Implement/match LegoPathActor::VTable0xa4 * Implement/match LegoPathActor::VTable0xa8 * Name enum constants --------- Co-authored-by: Cameron <25990062+crtdll@users.noreply.github.com>
101 lines
4.3 KiB
C++
101 lines
4.3 KiB
C++
#ifndef LEGOHIDEANIMPRESENTER_H
|
|
#define LEGOHIDEANIMPRESENTER_H
|
|
|
|
#include "decomp.h"
|
|
#include "legoloopinganimpresenter.h"
|
|
|
|
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;
|
|
|
|
// VTABLE: LEGO1 0x100d9278
|
|
// SIZE 0xc4
|
|
class LegoHideAnimPresenter : public LegoLoopingAnimPresenter {
|
|
public:
|
|
LegoHideAnimPresenter();
|
|
~LegoHideAnimPresenter() override;
|
|
|
|
// FUNCTION: LEGO1 0x1006d880
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f06cc
|
|
return "LegoHideAnimPresenter";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1006d890
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, ClassName()) || LegoAnimPresenter::IsA(p_name);
|
|
}
|
|
|
|
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
|
|
void VTable0x8c() override; // vtable+0x8c
|
|
void VTable0x90() override; // vtable+0x90
|
|
|
|
void FUN_1006db40(LegoTime p_time);
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool p_fromDestructor);
|
|
void FUN_1006db60(LegoTreeNode* p_node, LegoTime p_time);
|
|
void FUN_1006dc10();
|
|
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
|
|
);
|
|
|
|
LegoPathBoundary** m_boundaryMap; // 0xc0
|
|
};
|
|
|
|
// clang-format off
|
|
// SYNTHETIC: LEGO1 0x1006d9d0
|
|
// LegoHideAnimPresenter::`scalar deleting destructor'
|
|
|
|
// 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
|
|
|
|
#endif // LEGOHIDEANIMPRESENTER_H
|