Commit Graph

17 Commits

Author SHA1 Message Date
Léo Lam dff75e03e8 ksys/util: bind tryCreateDualHeap to the function body
The 8-byte function only masks the bool argument and branches to the
body right after it, so the body is tryCreateDualHeap and the wrapper is
createDualHeap (name from the IDB). GameData calls the wrapper, so it
now calls createDualHeap.

(AI assisted using Claude Opus 5.5)
2026-10-15 22:56:22 +01:00
Léo Lam c4c7c00e85 aoc: Manager is ksys, the DLC managers stay game-side
aoc::Manager is created during engine start-up and called by gdt, map
and StarterPackMgr; only game code uses HardModeManager and
ChampionBalladManager.

(AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
2026-10-06 03:19:39 +02:00
Léo Lam 8b562cb791 gdt: rename IncreaseLogger to DeferredFlagWriter
It logs nothing: it queues flag increments per core and
GameDataMgr::calc0 applies them once per frame. The IDB already uses
this name.

(AI assisted using Claude Opus 5.5)
2026-10-04 06:50:36 +02:00
Léo Lam 6cbc452592 Reformat with clang-format 19.1 2025-05-24 15:56:10 +01:00
Léo Lam df36d65665 Revert "Add #ifdef declarations for NON_MATCHING code"
This reverts commit 42807160cf.

It makes searching for NON_MATCHING comment descriptions much less
convenient in most text editors or IDEs, and we want the function
CSV to be the single source of truth for function statuses. Having
a function marked as matching but not built because of a stray #ifdef
would be bad.
2022-02-27 12:50:52 +01:00
Léo Lam d893fd5ead Remove unnecessary usages of sead::StorageFor
Turns out they are just value-initialised aggregates.
2022-02-08 22:11:09 +01:00
AlexApps99 42807160cf Add #ifdef declarations for NON_MATCHING code 2021-07-26 23:05:19 +12:00
Léo Lam 2015796b80 ksys: Fix signature of KingEditorComponent::syncData
The buffer needs to be mutable. ActorParamMgr modifies it for example
2021-04-22 23:39:46 +02:00
Léo Lam f3f4cb78a4 ksys/gdt: Implement Manager::loadShopGameDataInfo 2021-04-04 16:31:07 +02:00
Léo Lam 62181dd4db ksys/gdt: Implement more Manager functions 2021-04-04 02:28:25 +02:00
Léo Lam 9251925ede ksys/gdt: Implement more Manager functions 2021-04-03 01:22:04 +02:00
Léo Lam aa766a1977 Implement more parts of aocManager 2021-03-27 02:34:08 +01:00
Léo Lam 27afd0aa6a ksys/gdt: Implement Manager increase functions 2020-11-11 12:35:59 +01:00
Léo Lam f60734bded aoc2: Fix the struct and implement more functions 2020-11-07 02:10:12 +01:00
Léo Lam f2a8d32f29 ksys/gdt: Implement more Manager functions 2020-11-06 01:24:28 +01:00
Léo Lam e70c1c37cd ksys/gdt: Start adding GameDataMgr 2020-11-04 02:12:27 +01:00
Léo Lam 27da317935 ksys/res: Add GameData 2020-10-18 20:52:02 +02:00