add Lego3DManager and related, fix a function signature

This commit is contained in:
Christian Semmler
2023-06-18 13:45:39 +02:00
parent 5c74ddc9ab
commit 30989aec9c
6 changed files with 50 additions and 12 deletions

View File

@@ -85,10 +85,7 @@ void Isle::close()
InputManager()->QueueEvent(KEYDOWN, 0, 0, 0, 0x20);
}
// FIXME: Untangle
//VideoManager()->GetViewManager()->RemoveAll(NULL);
//ViewManager::RemoveAll
// (*(ViewManager **)(*(int *)(*(int *)(pLVar4 + 0x68) + 8) + 0x88), NULL);
VideoManager()->Get3DManager()->GetLego3DView()->GetViewManager()->RemoveAll(NULL);
long local_88 = 0;
Lego()->RemoveWorld(ds.m_atomId, local_88);
@@ -102,7 +99,7 @@ void Isle::close()
} while (lVar8 == 0);
while (Lego()) {
if (Lego()->vtable28(ds) != 0) {
if (Lego()->vtable28(ds) != MX_FALSE) {
break;
}