Rename FUN_1005d4b0 to UpdateMapLocatorPosition

This commit is contained in:
Sebastian Mischke 2026-01-05 13:34:33 +01:00
parent 056bdfb0b8
commit 4d3dbad040
3 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ class LegoRaceMap : public virtual LegoRaceActor {
void Animate(float p_time) override = 0; // vtable+0x70 void Animate(float p_time) override = 0; // vtable+0x70
// LegoRaceMap vtable // LegoRaceMap vtable
virtual void FUN_1005d4b0(); // vtable+0x00 virtual void UpdateMapLocatorPosition(); // vtable+0x00
// SYNTHETIC: LEGO1 0x10012c50 // SYNTHETIC: LEGO1 0x10012c50
// LegoRaceMap::`vbase destructor' // LegoRaceMap::`vbase destructor'

View File

@ -106,7 +106,7 @@ void LegoRaceMap::ParseAction(char* p_extra)
// FUNCTION: LEGO1 0x1005d4b0 // FUNCTION: LEGO1 0x1005d4b0
// FUNCTION: BETA10 0x100ca849 // FUNCTION: BETA10 0x100ca849
void LegoRaceMap::FUN_1005d4b0() void LegoRaceMap::UpdateMapLocatorPosition()
{ {
if (m_unk0x08) { if (m_unk0x08) {
short xPos = (GetWorldPosition()[0] - m_unk0x14) / m_unk0x18 * m_unk0x24; short xPos = (GetWorldPosition()[0] - m_unk0x14) / m_unk0x18 * m_unk0x24;
@ -131,7 +131,7 @@ MxLong LegoRaceMap::Notify(MxParam& p_param)
if (((LegoControlManagerNotificationParam&) p_param).m_enabledChild == 1) { if (((LegoControlManagerNotificationParam&) p_param).m_enabledChild == 1) {
m_unk0x08 = TRUE; m_unk0x08 = TRUE;
FUN_1005d4b0(); UpdateMapLocatorPosition();
m_stillPresenter->Enable(TRUE); m_stillPresenter->Enable(TRUE);
} }
else { else {

View File

@ -411,7 +411,7 @@ void LegoRaceCar::Animate(float p_time)
} }
if (LegoCarRaceActor::m_animState == 1) { if (LegoCarRaceActor::m_animState == 1) {
FUN_1005d4b0(); UpdateMapLocatorPosition();
if (!m_userNavFlag) { if (!m_userNavFlag) {
FUN_10080590(p_time); FUN_10080590(p_time);
@ -610,7 +610,7 @@ void LegoJetski::Animate(float p_time)
LegoJetskiRaceActor::Animate(p_time); LegoJetskiRaceActor::Animate(p_time);
if (LegoCarRaceActor::m_animState == 1) { if (LegoCarRaceActor::m_animState == 1) {
FUN_1005d4b0(); UpdateMapLocatorPosition();
if (!m_userNavFlag) { if (!m_userNavFlag) {
FUN_10080590(p_time); FUN_10080590(p_time);