From 4a6239bbbf5b5ab78c8d7eebb7afeeb79601ff43 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: ksys: small declaration fixes setCamera's only caller passes the camera actor, a ksys::act::Actor; ksys::act::Camera is only forward-declared. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5) --- src/KingSystem/ActorSystem/actActorCaptureMgr.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/KingSystem/ActorSystem/actActorCaptureMgr.h') diff --git a/src/KingSystem/ActorSystem/actActorCaptureMgr.h b/src/KingSystem/ActorSystem/actActorCaptureMgr.h index 091fde8d..b71e531a 100644 --- a/src/KingSystem/ActorSystem/actActorCaptureMgr.h +++ b/src/KingSystem/ActorSystem/actActorCaptureMgr.h @@ -14,7 +14,6 @@ class EntryFactoryBase; namespace ksys::act { class Actor; -class Camera; // TODO: incomplete class ActorCaptureMgr { @@ -27,14 +26,14 @@ public: virtual ~ActorCaptureMgr(); void init(const InitArg& arg); - void setCamera(Camera* camera); + void setCamera(Actor* camera); void loadCaptureParam(); const char* getCapturedActorName() const; private: Actor* mActor{}; - Camera* mCamera{}; + Actor* mCamera{}; res::EntryFactoryBase* mFactory{}; res::Handle mDummyFile; res::Handle mCaptureParamFile; -- cgit v1.2.3