diff options
| author | Léo Lam <leo@leolam.fr> | 2026-10-11 04:13:20 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2026-10-11 04:13:20 +0200 |
| commit | 6e9afd0f7d6f8e037fd71e91dfdad4b45f8e7e2f (patch) | |
| tree | d971f814d1cde46f56da6041037a65f512654ee3 /src/Game/Actor/AI/aiAirOctaFlyUp.cpp | |
| parent | 49c6b5c18344de6555163b3af7044970ad9d7c5e (diff) | |
ksys/act: rename the actor accessor to ActorLinkConstDataAccess
The 0x18-sized accessor appears to be named ActorLinkConstDataAccess
based on a source path string in the Wii U build. The 0x10-sized
base class (which we had given the name to) only holds a BaseProc and
its dtor/acquire functions live in a separate TU so let's rename it
BaseProcAccessor (unofficial name).
acquireActor is a header inline whose one copy landed in the BeamBase
object. Nothing in BeamBase calls it, so the BeamBase function that used
it was probably dead-stripped by the linker.
(AI assisted using Claude Opus 5.5)
Diffstat (limited to 'src/Game/Actor/AI/aiAirOctaFlyUp.cpp')
| -rw-r--r-- | src/Game/Actor/AI/aiAirOctaFlyUp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Game/Actor/AI/aiAirOctaFlyUp.cpp b/src/Game/Actor/AI/aiAirOctaFlyUp.cpp index 2c6afbbb..40c27583 100644 --- a/src/Game/Actor/AI/aiAirOctaFlyUp.cpp +++ b/src/Game/Actor/AI/aiAirOctaFlyUp.cpp @@ -3,7 +3,7 @@ #include "Game/Actor/AI/aiAirOctaRoot.h" #include "KingSystem/ActorSystem/AS/ASList.h" #include "KingSystem/ActorSystem/actActor.h" -#include "KingSystem/ActorSystem/actActorConstDataAccess.h" +#include "KingSystem/ActorSystem/actActorLinkConstDataAccess.h" #include "KingSystem/ActorSystem/actAiAi.h" #include "KingSystem/ActorSystem/actBaseProcLink.h" #include "KingSystem/System/VFR.h" @@ -49,7 +49,7 @@ void AirOctaFlyUp::calc_() { } if ((fly_up_multiplier * 0.5f >= 1.f && y >= getDataMgr()->vec_F8.y) || mElapsedTime >= (*mFlyUpDuration_s * 3.0f)) { - ksys::act::ActorConstDataAccess linkData; + ksys::act::ActorLinkConstDataAccess linkData; if (ksys::act::acquireActor(&getDataMgr()->mBaseProcLink, &linkData)) { mUserData = 3; getActor()->sendMessage(*linkData.getMessageTransceiverId(), 0x80000C8, &mUserData, @@ -58,7 +58,7 @@ void AirOctaFlyUp::calc_() { } } else if (y - AirOctaY >= *mTargetDistance_d * 0.9f || mElapsedTime >= (*mFlyUpDuration_s * 3.0f)) { - ksys::act::ActorConstDataAccess linkData; + ksys::act::ActorLinkConstDataAccess linkData; if (ksys::act::acquireActor(&getDataMgr()->mBaseProcLink, &linkData)) { mUserData = 2; getActor()->sendMessage(*linkData.getMessageTransceiverId(), 0x80000C8, &mUserData, |
