Use alias functions from Lego3DManager (#1167)

* Mark LegoEntity:Destroy (many vtables use it)

* Starting addrs for Lego3DManager helpers

* Addrs for users of Lego3DManager and changes where needed
This commit is contained in:
MS
2024-11-23 22:37:24 -05:00
committed by GitHub
parent 2d9ab43d4f
commit 816bfe842d
11 changed files with 32 additions and 11 deletions

View File

@@ -206,6 +206,7 @@ void LegoGameState::RemoveActor()
}
// FUNCTION: LEGO1 0x10039940
// FUNCTION: BETA10 0x10084069
void LegoGameState::ResetROI()
{
if (m_actorId) {
@@ -215,8 +216,8 @@ void LegoGameState::ResetROI()
LegoROI* roi = actor->GetROI();
if (roi) {
VideoManager()->Get3DManager()->GetLego3DView()->Remove(*roi);
VideoManager()->Get3DManager()->GetLego3DView()->Add(*roi);
VideoManager()->Get3DManager()->Remove(*roi);
VideoManager()->Get3DManager()->Add(*roi);
}
}
}