Adapt MxRegion.h (#1393)

* Adapt MxRegion.h

* Use specific GH action version

* Disable clang32 for now

* Fix regression

* Add space

* Add BETA annotations
This commit is contained in:
Christian Semmler
2025-02-26 19:30:11 -07:00
committed by GitHub
parent ea5a722311
commit 67b25b0bcc
15 changed files with 947 additions and 911 deletions

View File

@@ -192,7 +192,7 @@ MxBool MxControlPresenter::FUN_10044480(LegoControlManagerNotificationParam* p_p
void MxControlPresenter::VTable0x6c(MxS16 p_unk0x4e)
{
if (p_unk0x4e == -1) {
if ((MxS16) ((MxDSMultiAction*) m_action)->GetActionList()->GetCount() - m_unk0x4e == 1) {
if ((MxS16) ((MxDSMultiAction*) m_action)->GetActionList()->GetNumElements() - m_unk0x4e == 1) {
m_unk0x4e = 0;
}
else {

View File

@@ -58,7 +58,7 @@ void LegoControlManager::Unregister(MxCore* p_listener)
// FUNCTION: LEGO1 0x10029210
MxBool LegoControlManager::FUN_10029210(LegoEventNotificationParam& p_param, MxPresenter* p_presenter)
{
if (m_presenterList != NULL && m_presenterList->GetCount() != 0) {
if (m_presenterList != NULL && m_presenterList->GetNumElements() != 0) {
m_unk0x14 = p_presenter;
if (p_param.GetNotification() == c_notificationButtonUp ||

View File

@@ -114,7 +114,7 @@ void LegoLocomotionAnimPresenter::StartingTickle()
m_subscriber->FreeDataChunk(chunk);
}
if (m_roiMapList->GetCount() != 0) {
if (m_roiMapList->GetNumElements() != 0) {
ProgressTickleState(e_streaming);
}
}

View File

@@ -250,7 +250,7 @@ void LegoPartPresenter::Store()
ViewLODList* lodList = GetViewLODListManager()->Lookup(part->GetName()->GetData());
if (lodList == NULL) {
lodList = GetViewLODListManager()->Create(part->GetName()->GetData(), part->GetList()->GetCount());
lodList = GetViewLODListManager()->Create(part->GetName()->GetData(), part->GetList()->GetNumElements());
LegoLODListCursor lodCursor(part->GetList());
LegoLOD* lod;