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:
Misha
2024-03-19 14:44:42 -04:00
committed by GitHub
parent d92963982a
commit eaa935f646
18 changed files with 135 additions and 39 deletions

View File

@@ -124,12 +124,12 @@ LegoROI* FindROI(const char* p_name)
}
// FUNCTION: LEGO1 0x10015860
void SetROIUnknown0x0c(const char* p_name, undefined p_unk0x0c)
void SetROIVisible(const char* p_name, MxBool p_visible)
{
LegoROI* roi = FindROI(p_name);
if (roi) {
roi->SetUnknown0x0c(p_unk0x0c);
roi->SetVisibility(p_visible);
}
}