From 298537316dd39b14974bc382b483fa1338ac8bf0 Mon Sep 17 00:00:00 2001 From: Sebastian Mischke Date: Wed, 7 Jan 2026 23:14:23 +0100 Subject: [PATCH] Rename FUN_1004dcb0 to PlayActorAnimation --- LEGO1/lego/legoomni/include/towtrack.h | 2 +- LEGO1/lego/legoomni/src/actors/towtrack.cpp | 32 ++++++++++----------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/LEGO1/lego/legoomni/include/towtrack.h b/LEGO1/lego/legoomni/include/towtrack.h index e9e41418..05438e3a 100644 --- a/LEGO1/lego/legoomni/include/towtrack.h +++ b/LEGO1/lego/legoomni/include/towtrack.h @@ -192,7 +192,7 @@ class TowTrack : public IslePathActor { private: void Leave(); void PlayFinalAnimation(IsleScript::Script p_objectId); - void FUN_1004dcb0(IsleScript::Script p_objectId); + void PlayActorAnimation(IsleScript::Script p_objectId); void PlayAction(IsleScript::Script p_objectId); undefined4 m_unk0x160; // 0x160 diff --git a/LEGO1/lego/legoomni/src/actors/towtrack.cpp b/LEGO1/lego/legoomni/src/actors/towtrack.cpp index c0531bb8..c5e3ed52 100644 --- a/LEGO1/lego/legoomni/src/actors/towtrack.cpp +++ b/LEGO1/lego/legoomni/src/actors/towtrack.cpp @@ -200,19 +200,19 @@ MxLong TowTrack::HandleEndAction(MxEndActionNotificationParam& p_param) switch (m_actorId) { case c_pepper: - FUN_1004dcb0(IsleScript::c_wgs085nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs085nu_RunAnim); break; case c_mama: - FUN_1004dcb0(IsleScript::c_wgs086nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs086nu_RunAnim); break; case c_papa: - FUN_1004dcb0(IsleScript::c_wgs088nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs088nu_RunAnim); break; case c_nick: - FUN_1004dcb0(IsleScript::c_wgs087nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs087nu_RunAnim); break; case c_laura: - FUN_1004dcb0(IsleScript::c_wgs089nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs089nu_RunAnim); break; } @@ -229,19 +229,19 @@ MxLong TowTrack::HandleEndAction(MxEndActionNotificationParam& p_param) switch (m_actorId) { case c_pepper: - FUN_1004dcb0(IsleScript::c_wgs091nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs091nu_RunAnim); break; case c_mama: - FUN_1004dcb0(IsleScript::c_wgs092nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs092nu_RunAnim); break; case c_papa: - FUN_1004dcb0(IsleScript::c_wgs094nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs094nu_RunAnim); break; case c_nick: - FUN_1004dcb0(IsleScript::c_wgs093nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs093nu_RunAnim); break; case c_laura: - FUN_1004dcb0(IsleScript::c_wgs095nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs095nu_RunAnim); break; } @@ -254,19 +254,19 @@ MxLong TowTrack::HandleEndAction(MxEndActionNotificationParam& p_param) switch (m_actorId) { case c_pepper: - FUN_1004dcb0(IsleScript::c_wgs098nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs098nu_RunAnim); break; case c_mama: - FUN_1004dcb0(IsleScript::c_wgs099nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs099nu_RunAnim); break; case c_papa: - FUN_1004dcb0(IsleScript::c_wgs101nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs101nu_RunAnim); break; case c_nick: - FUN_1004dcb0(IsleScript::c_wgs100nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs100nu_RunAnim); break; case c_laura: - FUN_1004dcb0(IsleScript::c_wgs102nu_RunAnim); + PlayActorAnimation(IsleScript::c_wgs102nu_RunAnim); break; } @@ -572,7 +572,7 @@ void TowTrack::PlayFinalAnimation(IsleScript::Script p_objectId) } // FUNCTION: LEGO1 0x1004dcb0 -void TowTrack::FUN_1004dcb0(IsleScript::Script p_objectId) +void TowTrack::PlayActorAnimation(IsleScript::Script p_objectId) { AnimationManager()->FUN_1005f6d0(TRUE); AnimationManager()