diff options
| author | Léo Lam <leo@leolam.fr> | 2026-10-13 10:39:03 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2026-10-15 01:59:46 +0200 |
| commit | 8eca2642b01591ccbfbee98e66181d8ad5982cd3 (patch) | |
| tree | deede94dd7b37cea5ccc651b22dd7cc58a7b77c5 /src/KingSystem/ActorSystem/actBaseProc.cpp | |
| parent | e78c02499d0f108ae9c00158198289764c5980fe (diff) | |
ksys, uking: move four definitions to match link order
calc_ goes before leave_ in ForceSetCameraPos and InWaterSelForkASPlay,
and RailRoute's dtor goes after getCheckPointName (an unnamed row
there is likely its D0).
BaseProcJobHandler's ctor is linked right before BaseProc's ctor, so it
moves into actBaseProc.cpp, and the class moves into actBaseProc.h so
that its declaration stays with its definition.
(AI assisted using Claude Opus 5.5)
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProc.cpp')
| -rw-r--r-- | src/KingSystem/ActorSystem/actBaseProc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProc.cpp b/src/KingSystem/ActorSystem/actBaseProc.cpp index cce31c21..97b1b5b1 100644 --- a/src/KingSystem/ActorSystem/actBaseProc.cpp +++ b/src/KingSystem/ActorSystem/actBaseProc.cpp @@ -3,7 +3,6 @@ #include <time/seadTickSpan.h> #include "KingSystem/ActorSystem/actBaseProcAccessor.h" #include "KingSystem/ActorSystem/actBaseProcHandle.h" -#include "KingSystem/ActorSystem/actBaseProcJobHandler.h" #include "KingSystem/ActorSystem/actBaseProcLink.h" #include "KingSystem/ActorSystem/actBaseProcMgr.h" #include "KingSystem/Terrain/teraSystem.h" @@ -13,6 +12,8 @@ namespace ksys::act { static util::InitTimeInfo sInfo; +BaseProcJobHandler::BaseProcJobHandler(BaseProc* proc) : mLink(proc, proc->getPriority()) {} + BaseProc::BaseProc(const CreateArg& arg) : mName(arg.actor_name), mPriority(arg.class_info->priority) { BaseProcMgr* mgr = BaseProcMgr::instance(); |
