mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 09:54:18 +00:00
Finish LegoVariables class (#698)
* Finish LegoVariables class * Update legonavcontroller.cpp * Update legobackgroundcolor.cpp * Match functions, style, refactor visible * Use MxBool * Merge/fix --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -162,7 +162,7 @@ void LegoAnimPresenter::FUN_100692b0()
|
||||
roi = CharacterManager()->GetROI(src, TRUE);
|
||||
|
||||
if (roi != NULL && str[0] == '*') {
|
||||
roi->SetUnknown0x0c(0);
|
||||
roi->SetVisibility(FALSE);
|
||||
}
|
||||
}
|
||||
else if (unk0x04 == 4) {
|
||||
@@ -174,7 +174,7 @@ void LegoAnimPresenter::FUN_100692b0()
|
||||
roi = CharacterManager()->FUN_10085a80(und, src, 1);
|
||||
|
||||
if (roi != NULL) {
|
||||
roi->SetUnknown0x0c(0);
|
||||
roi->SetVisibility(FALSE);
|
||||
}
|
||||
|
||||
delete[] src;
|
||||
@@ -198,7 +198,7 @@ void LegoAnimPresenter::FUN_100692b0()
|
||||
roi = CharacterManager()->FUN_10085210(und, src, 1);
|
||||
|
||||
if (roi != NULL) {
|
||||
roi->SetUnknown0x0c(0);
|
||||
roi->SetVisibility(FALSE);
|
||||
}
|
||||
|
||||
delete[] src;
|
||||
|
||||
@@ -208,7 +208,7 @@ done:
|
||||
MxResult LegoModelPresenter::FUN_1007ff70(
|
||||
MxDSChunk& p_chunk,
|
||||
LegoEntity* p_entity,
|
||||
undefined p_modelUnknown0x34,
|
||||
MxBool p_roiVisible,
|
||||
LegoWorld* p_world
|
||||
)
|
||||
{
|
||||
@@ -222,7 +222,7 @@ MxResult LegoModelPresenter::FUN_1007ff70(
|
||||
}
|
||||
|
||||
if (m_roi != NULL) {
|
||||
m_roi->SetUnknown0x0c(p_modelUnknown0x34);
|
||||
m_roi->SetVisibility(p_roiVisible);
|
||||
}
|
||||
|
||||
if (p_entity != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user