Commit Graph

56 Commits

Author SHA1 Message Date
Léo Lam 7bda72574e ksys/world: Implement AnimalMasterController 2021-05-05 19:15:50 +02:00
Léo Lam da65708ded ksys/world: Implement more TimeMgr functions 2021-05-02 17:48:37 +02:00
Léo Lam 461967e278 ksys/gdt: Move FlagHandle to separate header
To avoid header bloat.
2021-05-02 00:22:59 +02: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 d253711d1b Fix formatting issues 2021-04-11 16:10:22 +02:00
Léo Lam 2cf1e01137 ksys/gdt: Implement more TriggerParam functions and StageInfo 2021-04-07 18:46:55 +02:00
Léo Lam cdd2a501a0 ksys/gdt: Improve accuracy of getXXXXXFlagAndIdx functions 2021-04-07 17:53:05 +02:00
Léo Lam f49219d33c ksys/gdt: Improve accuracy of reset functions
The previous version was also matching, but this is closer to how it is
implemented in the Wii U version.
2021-04-07 17:21:58 +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 54934db3c4 ksys/gdt: Reorder Manager declarations to better match .cpp 2021-04-03 12:53:11 +02:00
Léo Lam 9251925ede ksys/gdt: Implement more Manager functions 2021-04-03 01:22:04 +02:00
Léo Lam 24be360af1 Update sead 2021-03-27 15:53:08 +01:00
Léo Lam aa766a1977 Implement more parts of aocManager 2021-03-27 02:34:08 +01:00
Léo Lam b15b12e7c4 ksys/gdt: Silence -Wtautological-compare warning 2021-03-11 15:10:52 +01:00
Léo Lam 404597421d ksys/gdt: Add some special flag utils 2021-01-16 21:18:24 +01:00
Léo Lam 15fb041a7c ksys/gdt: Add missing bool parameter for some getters 2020-12-23 16:00:51 +01:00
Léo Lam bfbe2db425 ksys/act: Implement ActorUtil placement functions 2020-12-02 23:11:51 +01:00
Wildex999 56f9c3ac0c ksys/utils/byaml: First iteration of implementation.
4 Functions are still not fully matching with their inlined functions,
and at least one function is still missing.
2020-11-14 13:07:07 +01:00
Léo Lam 27afd0aa6a ksys/gdt: Implement Manager increase functions 2020-11-11 12:35:59 +01:00
Léo Lam fc4536b0d3 ksys/gdt: Add reset wrappers to Manager and CommonFlags 2020-11-11 02:04:17 +01:00
Léo Lam acda8ab02c ksys/gdt: Fix typo 2020-11-10 23:11:13 +01:00
Léo Lam f2bce04e0c Fixup 93b1b17 2020-11-10 22:01:36 +01:00
Léo Lam 93b1b17979 Fix matching errors 2020-11-10 21:52:48 +01:00
Léo Lam 8fd9863e1a ksys/gdt: Fix "no check, force" setters for vector flags
And add the other setters to the CSV.
2020-11-10 17:51:41 +01:00
Léo Lam d5bdc23ef5 ksys/gdt: Fix array getters/setters being generated incorrectly
They were treated as non-array flags.
2020-11-09 17:30:51 +01:00
Léo Lam aee089b720 ksys/gdt: Fix Manager setter wrappers for string types 2020-11-09 16:45:29 +01:00
Léo Lam 607389e86e ksys/gdt: Fix several issues in the gdtCommonFlags generation script 2020-11-09 16:35:35 +01:00
Léo Lam 441b98a31e ksys/gdt: Add getFlagGenericBool/S32 2020-11-09 16:22:59 +01:00
Léo Lam f2927c1de8 ksys/gdt: Do not inline gdtCommonFlagsUtils functions 2020-11-09 16:02:22 +01:00
Léo Lam 79ad7f328d ksys/gdt: Add commonFlagsUtils
This is separate from gdtCommonFlags.h to avoid having a header with
over 10 thousand lines...
2020-11-09 15:43:26 +01:00
Léo Lam f242ce69ee ksys/gdt: Add more flag utilities 2020-11-09 15:40:30 +01:00
Léo Lam a9ec880f2e ksys/act: Fix ActorParamMgr struct and add ASSetting stub 2020-11-08 16:17:44 +01:00
Léo Lam 3f11fdb6d2 ksys/gdt: Add flag setters (by handle and by name) 2020-11-07 23:28:09 +01:00
Léo Lam bfa4a2553e ksys/gdt: Add getBool helper 2020-11-07 22:00:27 +01:00
Léo Lam dd8ef71390 ksys/gdt: Add flag value getters to Manager 2020-11-07 16:54:19 +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 d87fefe1fb ksys/gdt: Add common flags 2020-11-06 22:21:02 +01:00
Léo Lam f2a8d32f29 ksys/gdt: Implement more Manager functions 2020-11-06 01:24:28 +01:00
Léo Lam f9373cd154 ksys/gdt: Fix typo in TriggerParam comment 2020-11-04 17:25:22 +01:00
Léo Lam e70c1c37cd ksys/gdt: Start adding GameDataMgr 2020-11-04 02:12:27 +01:00
Léo Lam 0cb4d828fc ksys/gdt: Add SaveMgr (stub) to prepare for GameDataMgr 2020-11-04 00:39:09 +01:00
Léo Lam c9998d3abf ksys/gdt: Make ~Manager the key function to help with dtor matching
Make syncData a pure virtual function that is overridden in Manager
to turn the destructor into the key function.

Otherwise, the GOT would be used to load the vtable pointer until
syncData is implemented, which is quite inconvenient.
2020-11-03 18:57:52 +01:00
Léo Lam 382cb57fc1 ksys/gdt: Declare all remaining TriggerParam functions 2020-11-01 11:45:51 +01:00
Léo Lam 6c686fb962 ksys/gdt: Implement more TriggerParam copy functions 2020-11-01 02:34:14 +01:00
Léo Lam 1ccd65836d ksys/gdt: Start adding TriggerParam's copy record functions 2020-10-31 14:58:32 +01:00
Léo Lam 2cd8eb111f ksys/gdt: Implement flag+index getters 2020-10-29 21:56:29 +01:00
Léo Lam abf3276642 ksys/gdt: Implement more parts of TriggerParam (notably setters) 2020-10-28 22:19:34 +01:00
Léo Lam fd9b8ad11d ksys/gdt: Add TriggerParamConfig 2020-10-27 00:52:51 +01:00
Léo Lam 82a6c0152e ksys/gdt: Add wrappers for property getters 2020-10-26 02:08:45 +01:00