Named SelectPartFromMousePosition

This commit is contained in:
mastertimethief 2025-07-03 19:00:31 -04:00
parent 145769b410
commit ce52f43c2b
2 changed files with 7 additions and 8 deletions

View File

@ -139,7 +139,7 @@ class LegoCarBuild : public LegoWorld {
undefined4 FUN_10024250(LegoEventNotificationParam* p_param); undefined4 FUN_10024250(LegoEventNotificationParam* p_param);
void FUN_100243a0(); void FUN_100243a0();
undefined4 FUN_10024480(MxActionNotificationParam* p_param); undefined4 FUN_10024480(MxActionNotificationParam* p_param);
undefined4 FUN_100244e0(MxLong p_x, MxLong p_y); undefined4 SelectPartFromMousePosition(MxLong p_x, MxLong p_y);
undefined4 FUN_100246e0(MxLong p_x, MxLong p_y); undefined4 FUN_100246e0(MxLong p_x, MxLong p_y);
MxS32 FUN_10024850(MxLong p_x, MxLong p_y); MxS32 FUN_10024850(MxLong p_x, MxLong p_y);
undefined4 FUN_10024890(MxParam* p_param); undefined4 FUN_10024890(MxParam* p_param);

View File

@ -687,7 +687,7 @@ MxLong LegoCarBuild::Notify(MxParam& p_param)
if (((m_buildState->m_animationState != 4) && (m_buildState->m_animationState != 6)) && if (((m_buildState->m_animationState != 4) && (m_buildState->m_animationState != 6)) &&
(m_buildState->m_animationState != 2)) { (m_buildState->m_animationState != 2)) {
m_buildState->m_animationState = LegoVehicleBuildState::e_unknown0; m_buildState->m_animationState = LegoVehicleBuildState::e_unknown0;
result = FUN_100244e0( result = SelectPartFromMousePosition(
((LegoEventNotificationParam&) p_param).GetX(), ((LegoEventNotificationParam&) p_param).GetX(),
((LegoEventNotificationParam&) p_param).GetY() ((LegoEventNotificationParam&) p_param).GetY()
); );
@ -817,8 +817,7 @@ undefined4 LegoCarBuild::FUN_10024480(MxActionNotificationParam* p_param)
// FUNCTION: LEGO1 0x100244e0 // FUNCTION: LEGO1 0x100244e0
// FUNCTION: BETA10 0x1006cfb6 // FUNCTION: BETA10 0x1006cfb6
//Sets a part as selected for moving / coloring undefined4 LegoCarBuild::SelectPartFromMousePosition(MxLong p_x, MxLong p_y)
undefined4 LegoCarBuild::FUN_100244e0(MxLong p_x, MxLong p_y)
{ {
m_unk0x250[0] = p_x; m_unk0x250[0] = p_x;
m_unk0x250[1] = p_y; m_unk0x250[1] = p_y;