2024-03-26 13:51:52 -04:00
|
|
|
#ifndef LEGOPATHBOUNDARY_H
|
|
|
|
#define LEGOPATHBOUNDARY_H
|
2023-06-30 14:34:39 -04:00
|
|
|
|
2024-03-26 13:51:52 -04:00
|
|
|
#include "geom/legowegedge.h"
|
2024-04-04 06:26:03 -04:00
|
|
|
#include "legoanimpresenter.h"
|
2024-03-26 13:51:52 -04:00
|
|
|
#include "mxstl/stlcompat.h"
|
|
|
|
#include "mxtypes.h"
|
2023-06-30 14:34:39 -04:00
|
|
|
|
2024-04-11 07:35:15 -04:00
|
|
|
class LegoPathActor;
|
|
|
|
|
|
|
|
struct LegoPathActorSetCompare {
|
|
|
|
MxU32 operator()(const LegoPathActor* p_lhs, const LegoPathActor* p_rhs) const
|
|
|
|
{
|
|
|
|
return (MxS32) p_lhs < (MxS32) p_rhs;
|
|
|
|
}
|
2024-03-26 13:51:52 -04:00
|
|
|
};
|
|
|
|
|
2024-04-04 06:26:03 -04:00
|
|
|
struct LegoAnimPresenterSetCompare {
|
2024-04-11 07:35:15 -04:00
|
|
|
MxBool operator()(const LegoAnimPresenter* p_lhs, const LegoAnimPresenter* p_rhs) const { return 0; }
|
2024-04-04 06:26:03 -04:00
|
|
|
};
|
|
|
|
|
2024-04-11 07:35:15 -04:00
|
|
|
typedef set<LegoPathActor*, LegoPathActorSetCompare> LegoPathActorSet;
|
2024-04-04 06:26:03 -04:00
|
|
|
typedef set<LegoAnimPresenter*, LegoAnimPresenterSetCompare> LegoAnimPresenterSet;
|
|
|
|
|
2024-03-26 13:51:52 -04:00
|
|
|
// VTABLE: LEGO1 0x100d8618
|
|
|
|
// SIZE 0x74
|
|
|
|
class LegoPathBoundary : public LegoWEGEdge {
|
|
|
|
public:
|
|
|
|
LegoPathBoundary();
|
|
|
|
|
2024-04-11 07:35:15 -04:00
|
|
|
MxResult AddActor(LegoPathActor* p_actor);
|
|
|
|
|
|
|
|
inline LegoAnimPresenterSet* GetUnknown0x64() { return &m_unk0x64; }
|
|
|
|
|
2024-03-26 13:51:52 -04:00
|
|
|
// STUB: LEGO1 0x10047a80
|
|
|
|
// LegoPathBoundary::`scalar deleting destructor'
|
|
|
|
|
|
|
|
private:
|
2024-04-11 07:35:15 -04:00
|
|
|
LegoPathActorSet m_unk0x54; // 0x54
|
|
|
|
LegoAnimPresenterSet m_unk0x64; // 0x64
|
2024-03-26 13:51:52 -04:00
|
|
|
};
|
|
|
|
|
2024-04-04 06:26:03 -04:00
|
|
|
// clang-format off
|
2024-04-11 07:35:15 -04:00
|
|
|
// TEMPLATE: LEGO1 0x10045d80
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::iterator::_Dec
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10045dd0
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Insert
|
|
|
|
|
|
|
|
// GLOBAL: LEGO1 0x100f11a4
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Nil
|
|
|
|
|
2024-04-04 06:26:03 -04:00
|
|
|
// GLOBAL: LEGO1 0x100f3200
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Nil
|
|
|
|
// clang-format on
|
|
|
|
|
2024-03-26 13:51:52 -04:00
|
|
|
#endif // LEGOPATHBOUNDARY_H
|