mirror of
https://github.com/zeldaret/botw
synced 2026-10-09 21:44:27 -04:00
9d6a597e91
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)
28 lines
585 B
C++
28 lines
585 B
C++
#pragma once
|
|
|
|
#include <heap/seadDisposer.h>
|
|
#include "KingSystem/ActorSystem/actActorCreator.h"
|
|
|
|
namespace uking::act {
|
|
|
|
class ActorFactory : public ksys::act::IActorFactory {
|
|
public:
|
|
void dummy() override;
|
|
ksys::act::BaseProc* createActor(const ksys::act::ActorCreateArg& arg) override;
|
|
void dummy2() override;
|
|
};
|
|
|
|
class ActorFactoryHolder {
|
|
SEAD_SINGLETON_DISPOSER(ActorFactoryHolder)
|
|
ActorFactoryHolder() = default;
|
|
virtual ~ActorFactoryHolder();
|
|
|
|
public:
|
|
void init(sead::Heap* heap);
|
|
|
|
private:
|
|
ActorFactory mFactory;
|
|
};
|
|
|
|
} // namespace uking::act
|