mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
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:

committed by
GitHub

parent
ea5a722311
commit
67b25b0bcc
@@ -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 {
|
||||
|
@@ -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 ||
|
||||
|
@@ -114,7 +114,7 @@ void LegoLocomotionAnimPresenter::StartingTickle()
|
||||
m_subscriber->FreeDataChunk(chunk);
|
||||
}
|
||||
|
||||
if (m_roiMapList->GetCount() != 0) {
|
||||
if (m_roiMapList->GetNumElements() != 0) {
|
||||
ProgressTickleState(e_streaming);
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user