From 9d6a597e91fac5ecdca3f9903f90c7bdf5accd96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 28 Sep 2026 03:39:31 +0200 Subject: Actor: ActorFactory is game, CurrentResNameMgr is ksys ActorFactory's static initialiser fills its table with uking actor ctors. CurrentResNameMgr (0x71010b770c) links in KingSystem/System right before GameConfig. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5) --- src/KingSystem/ActorSystem/actActorFactory.cpp | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/KingSystem/ActorSystem/actActorFactory.cpp (limited to 'src/KingSystem/ActorSystem/actActorFactory.cpp') diff --git a/src/KingSystem/ActorSystem/actActorFactory.cpp b/src/KingSystem/ActorSystem/actActorFactory.cpp deleted file mode 100644 index 6a835f3f..00000000 --- a/src/KingSystem/ActorSystem/actActorFactory.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "KingSystem/ActorSystem/actActorFactory.h" -#include "KingSystem/ActorSystem/actActorCreator.h" - -namespace ksys::act { - -SEAD_SINGLETON_DISPOSER_IMPL(ActorFactoryHolder) - -void ActorFactory::dummy() {} - -void ActorFactory::dummy2() {} - -ActorFactoryHolder::~ActorFactoryHolder() { - ActorCreator::deleteInstance(); -} - -void ActorFactoryHolder::init(sead::Heap* heap) { - ActorCreator::createInstance(heap); - ActorCreator::instance()->setActorFactory(&mFactory); -} - -} // namespace ksys::act -- cgit v1.2.3