Implement/match LegoAnimPresenter::FUN_1006ab70 (#839)

This commit is contained in:
Christian Semmler 2024-04-23 04:03:10 -04:00 committed by GitHub
parent c01fd9b260
commit 7efbb04999
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 2 deletions

View file

@ -8,6 +8,9 @@
#include "legotraninfolist.h" #include "legotraninfolist.h"
#include "mxcore.h" #include "mxcore.h"
class LegoAnimPresenter;
class LegoROIList;
// SIZE 0x18 // SIZE 0x18
struct Character { struct Character {
char* m_name; // 0x00 char* m_name; // 0x00
@ -92,6 +95,8 @@ class LegoAnimationManager : public MxCore {
void FUN_10062770(); void FUN_10062770();
void FUN_100627d0(MxBool); void FUN_100627d0(MxBool);
void FUN_100629b0(MxU32, MxBool); void FUN_100629b0(MxU32, MxBool);
void FUN_10063270(LegoROIList*, LegoAnimPresenter*);
void FUN_10063780(LegoROIList*);
void FUN_10064670(MxBool); void FUN_10064670(MxBool);
void FUN_10064740(MxBool); void FUN_10064740(MxBool);

View file

@ -621,6 +621,18 @@ void LegoAnimationManager::FUN_100629b0(MxU32, MxBool)
// TODO // TODO
} }
// STUB: LEGO1 0x10063270
void LegoAnimationManager::FUN_10063270(LegoROIList*, LegoAnimPresenter*)
{
// TODO
}
// STUB: LEGO1 0x10063780
void LegoAnimationManager::FUN_10063780(LegoROIList*)
{
// TODO
}
// STUB: LEGO1 0x10064670 // STUB: LEGO1 0x10064670
void LegoAnimationManager::FUN_10064670(MxBool) void LegoAnimationManager::FUN_10064670(MxBool)
{ {

View file

@ -1,5 +1,6 @@
#include "legoanimpresenter.h" #include "legoanimpresenter.h"
#include "legoanimationmanager.h"
#include "legoanimmmpresenter.h" #include "legoanimmmpresenter.h"
#include "legocharactermanager.h" #include "legocharactermanager.h"
#include "legovideomanager.h" #include "legovideomanager.h"
@ -449,10 +450,15 @@ void LegoAnimPresenter::FUN_1006a4f0(
} }
} }
// STUB: LEGO1 0x1006ab70 // FUNCTION: LEGO1 0x1006ab70
void LegoAnimPresenter::FUN_1006ab70() void LegoAnimPresenter::FUN_1006ab70()
{ {
// TODO if (m_unk0x96) {
AnimationManager()->FUN_10063270(m_unk0x74, this);
}
else {
AnimationManager()->FUN_10063780(m_unk0x74);
}
} }
// FUNCTION: LEGO1 0x1006aba0 // FUNCTION: LEGO1 0x1006aba0