From 44c75aa78a9d67fffcb67bccacb56b7f7878e21f 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: SystemPauseMgr and NXArgs are game code Both link in the game archive, and NXArgs uses game classes such as GameScene. The engine only calls SystemPauseMgr's virtuals, so it now goes through ksys::ISystemPauseMgr and no longer includes Game/. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5) --- src/KingSystem/System/OverlayArenaSystem.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/KingSystem/System/OverlayArenaSystem.cpp') diff --git a/src/KingSystem/System/OverlayArenaSystem.cpp b/src/KingSystem/System/OverlayArenaSystem.cpp index 1731b491..bafb705a 100644 --- a/src/KingSystem/System/OverlayArenaSystem.cpp +++ b/src/KingSystem/System/OverlayArenaSystem.cpp @@ -6,7 +6,6 @@ #include "KingSystem/Resource/resSystem.h" #include "KingSystem/Sound/sndResource.h" #include "KingSystem/System/OverlayArena.h" -#include "KingSystem/System/SystemPauseMgr.h" #include "KingSystem/Terrain/teraSystem.h" #include "KingSystem/Utils/Thread/Task.h" #include "KingSystem/Utils/Thread/TaskThread.h" -- cgit v1.2.3 From 98f0c80f1d0b9d3ca19f0b38efcb597ee65d9dc0 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: The task and thread families are plain ksys:: They link in the same block as the plain-ksys:: Message family. getItemValue and applyScreenFade sit in engine UI TUs, hence ksys::ui. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5) --- src/KingSystem/System/OverlayArenaSystem.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/KingSystem/System/OverlayArenaSystem.cpp') diff --git a/src/KingSystem/System/OverlayArenaSystem.cpp b/src/KingSystem/System/OverlayArenaSystem.cpp index bafb705a..82a59aaf 100644 --- a/src/KingSystem/System/OverlayArenaSystem.cpp +++ b/src/KingSystem/System/OverlayArenaSystem.cpp @@ -66,12 +66,12 @@ void OverlayArenaSystem::destroyHeaps() { bool OverlayArenaSystem::init(const InitArg& arg, sead::Heap* heap) { mSystemPauseMgr = arg.system_pause_mgr; - mPrepareThread = new (heap) util::TaskThread( + mPrepareThread = new (heap) TaskThread( "OverlayArena Prepare", heap, sead::ThreadUtil::ConvertPrioritySeadToPlatform(17), sead::MessageQueue::BlockType::Blocking, 0x7fffffff, 0x14000, 32); { - util::TaskThread::InitArg arg_; + TaskThread::InitArg arg_; arg_.batch_size = 0; arg_.queue = nullptr; arg_.num_lanes = 1; @@ -84,8 +84,8 @@ bool OverlayArenaSystem::init(const InitArg& arg, sead::Heap* heap) { mDelegate = {this, &OverlayArenaSystem::delegatedFunction}; { - mTask = new (heap) util::Task(heap); - util::TaskDelegateSetter setter; + mTask = new (heap) Task(heap); + TaskDelegateSetter setter; mTask->setDelegate(setter); } -- cgit v1.2.3