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

@@ -185,7 +185,7 @@ void ViewManager::FUN_100a66a0(ViewROI* p_roi)
// FUNCTION: LEGO1 0x100a66f0
inline void ViewManager::FUN_100a66f0(ViewROI* p_roi, int p_und)
{
if (p_roi->GetUnknown0x0c() == FALSE && p_und != -2) {
if (!p_roi->GetVisibility() && p_und != -2) {
FUN_100a66f0(p_roi, -2);
}
else {