From af363d75afd98e624d31eca3ca3d8750de00dc42 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Tue, 14 May 2024 08:49:46 -0400 Subject: [PATCH] Implement/match LegoPathBoundary ctor/dtor --- .../lego/legoomni/include/legopathboundary.h | 21 +++++++++++++++++++ .../legoomni/src/paths/legopathboundary.cpp | 13 ++++++++---- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/LEGO1/lego/legoomni/include/legopathboundary.h b/LEGO1/lego/legoomni/include/legopathboundary.h index 7d300feb..ba548d4f 100644 --- a/LEGO1/lego/legoomni/include/legopathboundary.h +++ b/LEGO1/lego/legoomni/include/legopathboundary.h @@ -98,6 +98,27 @@ class LegoPathBoundary : public LegoWEGEdge { // TEMPLATE: LEGO1 0x1004a7a0 // _Construct +// TEMPLATE: LEGO1 0x10056c20 +// _Tree >::_Kfn,LegoAnimPresenterSetCompare,allocator >::~_Tree >::_Kfn,LegoAnimPresenterSetCompare,allocator >::iterator::_Inc + +// TEMPLATE: LEGO1 0x10056d30 +// _Tree >::_Kfn,LegoAnimPresenterSetCompare,allocator >::erase + +// TEMPLATE: LEGO1 0x10057180 +// _Tree >::_Kfn,LegoAnimPresenterSetCompare,allocator >::_Erase + +// TEMPLATE: LEGO1 0x100571c0 +// set >::~set > + +// TEMPLATE: LEGO1 0x10057210 +// Set::~Set + +// TEMPLATE: LEGO1 0x100573e0 +// _Tree >::_Kfn,LegoPathActorSetCompare,allocator >::begin + // GLOBAL: LEGO1 0x100f11a4 // _Tree >::_Kfn,LegoPathActorSetCompare,allocator >::_Nil diff --git a/LEGO1/lego/legoomni/src/paths/legopathboundary.cpp b/LEGO1/lego/legoomni/src/paths/legopathboundary.cpp index 25df258f..3843ff9f 100644 --- a/LEGO1/lego/legoomni/src/paths/legopathboundary.cpp +++ b/LEGO1/lego/legoomni/src/paths/legopathboundary.cpp @@ -5,16 +5,21 @@ DECOMP_SIZE_ASSERT(LegoPathBoundary, 0x74) -// STUB: LEGO1 0x10056a70 +// FUNCTION: LEGO1 0x10056a70 +// FUNCTION: BETA10 0x100b1360 LegoPathBoundary::LegoPathBoundary() { - // TODO } -// STUB: LEGO1 0x10057260 +// FUNCTION: LEGO1 0x10057260 +// FUNCTION: BETA10 0x100b140d LegoPathBoundary::~LegoPathBoundary() { - // TODO + for (LegoPathActorSet::iterator it = m_actors.begin(); !(it == m_actors.end()); it++) { + (*it)->SetBoundary(NULL); + } + + m_actors.erase(m_actors.begin(), m_actors.end()); } // FUNCTION: LEGO1 0x100573f0