diff options
| author | Léo Lam <leo@leolam.fr> | 2026-09-28 03:39:31 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2026-10-06 03:19:39 +0200 |
| commit | 98f0c80f1d0b9d3ca19f0b38efcb597ee65d9dc0 (patch) | |
| tree | c05c560af93ab2944f0f565665bd12b9a8bdd07f /src/Game/UI | |
| parent | 6442a24670f69f73aaafb925b625e58aeac8e842 (diff) | |
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)
Diffstat (limited to 'src/Game/UI')
| -rw-r--r-- | src/Game/UI/uiFadeProgress.cpp | 3 | ||||
| -rw-r--r-- | src/Game/UI/uiUtils.h | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/Game/UI/uiFadeProgress.cpp b/src/Game/UI/uiFadeProgress.cpp index 87ded166..f448b862 100644 --- a/src/Game/UI/uiFadeProgress.cpp +++ b/src/Game/UI/uiFadeProgress.cpp @@ -1,5 +1,6 @@ #include "Game/UI/uiFadeProgress.h" #include "Game/UI/uiUtils.h" +#include "KingSystem/System/UIGlue.h" namespace uking::ui { @@ -37,7 +38,7 @@ void FadeProgress::updateFadeScreen() { if (new_progress < progress) progress = new_progress; mGaugeValue = progress; - applyScreenFade(progress); + ksys::ui::applyScreenFade(progress); } void FadeProgress::setProgress(float value) { diff --git a/src/Game/UI/uiUtils.h b/src/Game/UI/uiUtils.h index 288b7996..39b66348 100644 --- a/src/Game/UI/uiUtils.h +++ b/src/Game/UI/uiUtils.h @@ -47,11 +47,6 @@ void setShowRaceResult(s32 result_type); int countCookResultsCheck(const sead::SafeString& name, s32 effect_type); int countCookResultsAllOk(const sead::SafeString& name); -int getItemValue(const sead::SafeString& name); - -// TODO: move these to another translation unit (TBD) -// Do not implement until the location is figured out -void applyScreenFade(float progress); act::CreateEquipmentSlot getCreateEquipmentSlot(ui::PouchItemType type); ui::EquipmentSlot getEquipmentSlot(act::CreateEquipmentSlot slot); |
