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>
142 lines
6.9 KiB
C++
142 lines
6.9 KiB
C++
#ifndef LEGOPATHBOUNDARY_H
|
|
#define LEGOPATHBOUNDARY_H
|
|
|
|
#include "geom/legowegedge.h"
|
|
#include "legoanimpresenter.h"
|
|
#include "legopathactor.h"
|
|
#include "mxstl/stlcompat.h"
|
|
#include "mxtypes.h"
|
|
|
|
struct LegoPathActorSetCompare {
|
|
MxU32 operator()(const LegoPathActor* p_lhs, const LegoPathActor* p_rhs) const
|
|
{
|
|
return (MxS32) p_lhs < (MxS32) p_rhs;
|
|
}
|
|
};
|
|
|
|
struct LegoAnimPresenterSetCompare {
|
|
MxBool operator()(const LegoAnimPresenter* p_lhs, const LegoAnimPresenter* p_rhs) const
|
|
{
|
|
return (MxS32) p_lhs < (MxS32) p_rhs;
|
|
}
|
|
};
|
|
|
|
typedef set<LegoPathActor*, LegoPathActorSetCompare> LegoPathActorSet;
|
|
typedef set<LegoAnimPresenter*, LegoAnimPresenterSetCompare> LegoAnimPresenterSet;
|
|
|
|
// VTABLE: LEGO1 0x100d8618
|
|
// SIZE 0x74
|
|
class LegoPathBoundary : public LegoWEGEdge {
|
|
public:
|
|
LegoPathBoundary();
|
|
~LegoPathBoundary() override;
|
|
|
|
MxResult AddActor(LegoPathActor* p_actor);
|
|
MxResult RemoveActor(LegoPathActor* p_actor);
|
|
void FUN_100575b0(Vector3& p_point1, Vector3& p_point2, LegoPathActor* p_actor);
|
|
void SwitchBoundary(
|
|
LegoPathActor* p_actor,
|
|
LegoPathBoundary*& p_boundary,
|
|
LegoUnknown100db7f4*& p_edge,
|
|
float& p_unk0xe4
|
|
);
|
|
MxU32 Intersect(
|
|
float p_scale,
|
|
Vector3& p_point1,
|
|
Vector3& p_point2,
|
|
Vector3& p_point3,
|
|
LegoUnknown100db7f4*& p_edge
|
|
);
|
|
MxU32 FUN_10057fe0(LegoAnimPresenter* p_presenter);
|
|
MxU32 FUN_100586e0(LegoAnimPresenter* p_presenter);
|
|
|
|
inline LegoPathActorSet& GetActors() { return m_actors; }
|
|
inline LegoAnimPresenterSet& GetPresenters() { return m_presenters; }
|
|
|
|
// SYNTHETIC: LEGO1 0x10047a80
|
|
// LegoPathBoundary::`vector deleting destructor'
|
|
|
|
private:
|
|
LegoPathActorSet m_actors; // 0x54
|
|
LegoAnimPresenterSet m_presenters; // 0x64
|
|
};
|
|
|
|
// clang-format off
|
|
// 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
|
|
|
|
// 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
|
|
|
|
// 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
|
|
|
|
// 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
|
|
|
|
// GLOBAL: LEGO1 0x100f11a4
|
|
// _Tree<LegoPathActor *,LegoPathActor *,set<LegoPathActor *,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Kfn,LegoPathActorSetCompare,allocator<LegoPathActor *> >::_Nil
|
|
|
|
// GLOBAL: LEGO1 0x100f3200
|
|
// _Tree<LegoAnimPresenter *,LegoAnimPresenter *,set<LegoAnimPresenter *,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Kfn,LegoAnimPresenterSetCompare,allocator<LegoAnimPresenter *> >::_Nil
|
|
// clang-format on
|
|
|
|
#endif // LEGOPATHBOUNDARY_H
|