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-05-03 12:19:12 -04:00
|
|
|
#include "legopathactor.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-06-25 11:56:30 -04:00
|
|
|
#if defined(_M_IX86) || defined(__i386__)
|
|
|
|
#define COMPARE_POINTER_TYPE MxS32
|
|
|
|
#else
|
|
|
|
#define COMPARE_POINTER_TYPE MxS32*
|
|
|
|
#endif
|
|
|
|
|
2024-04-11 07:35:15 -04:00
|
|
|
struct LegoPathActorSetCompare {
|
|
|
|
MxU32 operator()(const LegoPathActor* p_lhs, const LegoPathActor* p_rhs) const
|
|
|
|
{
|
2024-06-25 11:56:30 -04:00
|
|
|
return (COMPARE_POINTER_TYPE) p_lhs < (COMPARE_POINTER_TYPE) p_rhs;
|
2024-04-11 07:35:15 -04:00
|
|
|
}
|
2024-03-26 13:51:52 -04:00
|
|
|
};
|
|
|
|
|
2024-04-04 06:26:03 -04:00
|
|
|
struct LegoAnimPresenterSetCompare {
|
2024-05-13 08:39:43 -04:00
|
|
|
MxBool operator()(const LegoAnimPresenter* p_lhs, const LegoAnimPresenter* p_rhs) const
|
|
|
|
{
|
2024-06-25 11:56:30 -04:00
|
|
|
return (COMPARE_POINTER_TYPE) p_lhs < (COMPARE_POINTER_TYPE) p_rhs;
|
2024-05-13 08:39:43 -04:00
|
|
|
}
|
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-05-11 12:23:18 -04:00
|
|
|
~LegoPathBoundary() override;
|
2024-03-26 13:51:52 -04:00
|
|
|
|
2024-04-11 07:35:15 -04:00
|
|
|
MxResult AddActor(LegoPathActor* p_actor);
|
2024-05-13 06:46:59 -04:00
|
|
|
MxResult RemoveActor(LegoPathActor* p_actor);
|
2024-04-14 10:43:07 -04:00
|
|
|
void FUN_100575b0(Vector3& p_point1, Vector3& p_point2, LegoPathActor* p_actor);
|
2024-05-20 14:27:00 -04:00
|
|
|
void SwitchBoundary(
|
|
|
|
LegoPathActor* p_actor,
|
|
|
|
LegoPathBoundary*& p_boundary,
|
|
|
|
LegoUnknown100db7f4*& p_edge,
|
|
|
|
float& p_unk0xe4
|
|
|
|
);
|
2024-05-20 11:34:31 -04:00
|
|
|
MxU32 Intersect(
|
|
|
|
float p_scale,
|
|
|
|
Vector3& p_point1,
|
|
|
|
Vector3& p_point2,
|
|
|
|
Vector3& p_point3,
|
|
|
|
LegoUnknown100db7f4*& p_edge
|
|
|
|
);
|
2024-05-12 15:30:34 -04:00
|
|
|
MxU32 FUN_10057fe0(LegoAnimPresenter* p_presenter);
|
|
|
|
MxU32 FUN_100586e0(LegoAnimPresenter* p_presenter);
|
2024-04-11 07:35:15 -04:00
|
|
|
|
2024-05-13 06:46:59 -04:00
|
|
|
inline LegoPathActorSet& GetActors() { return m_actors; }
|
|
|
|
inline LegoAnimPresenterSet& GetPresenters() { return m_presenters; }
|
2024-04-11 07:35:15 -04:00
|
|
|
|
2024-04-14 10:43:07 -04:00
|
|
|
// SYNTHETIC: LEGO1 0x10047a80
|
2024-05-11 12:23:18 -04:00
|
|
|
// LegoPathBoundary::`vector deleting destructor'
|
2024-03-26 13:51:52 -04:00
|
|
|
|
|
|
|
private:
|
2024-04-17 06:34:21 -04:00
|
|
|
LegoPathActorSet m_actors; // 0x54
|
|
|
|
LegoAnimPresenterSet m_presenters; // 0x64
|
2024-03-26 13:51:52 -04:00
|
|
|
};
|
|
|
|
|
2024-04-04 06:26:03 -04:00
|
|
|
// clang-format off
|
2024-04-17 06:34:21 -04:00
|
|
|
// TEMPLATE: LEGO1 0x1002bee0
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::~_Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,a
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1002bfb0
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::iterator::_Inc
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1002bff0
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::erase
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1002c440
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::find
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1002c4c0
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Copy
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1002c630
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Erase
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1002c670
|
|
|
|
// set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::~set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1002c6c0
|
|
|
|
// Set<LegoPathActor *,LegoPathActorSetCompare>::~Set<LegoPathActor *,LegoPathActorSetCompare>
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1002eb10
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Init
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1002ebc0
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Min
|
|
|
|
|
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
|
|
|
|
|
2024-05-13 08:39:43 -04:00
|
|
|
// TEMPLATE: LEGO1 0x10046310
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::insert
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10046580
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Lrotate
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x100465e0
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Rrotate
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x1004a7a0
|
|
|
|
// _Construct
|
|
|
|
|
2024-05-14 09:42:44 -04:00
|
|
|
// TEMPLATE: LEGO1 0x10056c20
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::~_Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoA
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10056cf0
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::iterator::_Inc
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10056d30
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::erase
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10057180
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Erase
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x100571c0
|
|
|
|
// set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::~set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10057210
|
|
|
|
// Set<LegoAnimPresenter *,LegoAnimPresenterSetCompare>::~Set<LegoAnimPresenter *,LegoAnimPresenterSetCompare>
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x100573e0
|
|
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::begin
|
|
|
|
|
2024-05-28 11:20:23 -04:00
|
|
|
// TEMPLATE: LEGO1 0x100580c0
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::insert
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10058330
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::iterator::_Dec
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10058380
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Buynode
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x100583a0
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Insert
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10058620
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Lrotate
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10058680
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Rrotate
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10058820
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::erase
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x100588e0
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::equal_range
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10058950
|
|
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Lbound
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x10058980
|
|
|
|
// _Construct
|
|
|
|
|
|
|
|
// TEMPLATE: LEGO1 0x100589a0
|
|
|
|
// _Distance
|
|
|
|
|
2024-04-11 07:35:15 -04:00
|
|
|
// 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
|