Commit Graph

307 Commits

Author SHA1 Message Date
Léo Lam b28ba7b3ad ksys/act: Add Actor::getMaxLife and fix encapsulation 2020-11-08 23:04:14 +01:00
Léo Lam cb5976d8ae Add ActorCapture factory to CSV 2020-11-08 22:56:55 +01:00
Léo Lam 3b36b3af2b ksys/res: Fix EntryFactory<T>::newResource_ return type
Having a covariant return type that isn't sead::DirectResource* will
cause an extra nullptr check to be emitted
2020-11-08 22:55:24 +01:00
Léo Lam 9749f30484 ksys/res: Fix ActorCapture vtable 2020-11-08 22:45:24 +01:00
Léo Lam ecec485d55 ksys: Add remaining ActorCapture functions to CSV 2020-11-08 22:45:24 +01:00
Léo Lam d87343fd8d tools: Add a script to print vtables 2020-11-08 22:45:23 +01:00
Léo Lam 7d2ef1d6b2 ksys/act: Start adding ActorCaptureMgr 2020-11-08 22:26:54 +01:00
Léo Lam ff3421d4eb ksys: Add Timer (header only for now) 2020-11-08 22:04:33 +01:00
Léo Lam f7e6cce7a9 ksys/act: Implement final non-dev-only ActorParam function 2020-11-08 18:28:43 +01:00
Léo Lam f128251414 ksys/act: Add ActorTemplate 2020-11-08 18:16:55 +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 aa92bf882c ksys/act: Implement more ActorParam functions 2020-11-08 15:13:59 +01:00
Léo Lam 23ec19806c ksys/util: Add Event::isSignalSet
Missed it because of IDA's function tail mechanism...
2020-11-08 13:42:14 +01:00
Léo Lam bdfebd669b ksys/act: Fix ActorParam encapsulation 2020-11-08 13:27:47 +01:00
Léo Lam bdb97007b1 ksys/act: Remove obsolete comment 2020-11-08 12:25:55 +01:00
Léo Lam ad01b2b1fb ksys/act: Fix matching issue in ActorParam 2020-11-08 12:22:08 +01:00
Léo Lam 9eb8806b6f ksys/act: Implement a couple more ActorParam functions 2020-11-08 01:44:58 +01:00
Léo Lam f9456b5b1c ksys: Fix ActorParam struct 2020-11-08 00:56:14 +01:00
Léo Lam 3bd9d7a599 aoc2: Implement more functions 2020-11-07 23:28:51 +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 f918d1f805 tools/check: Handle address differences for str/stp as well 2020-11-07 01:32:31 +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 0b6cdede6d Add functions to CSV and fix matching issue in InitTimeInfoEx 2020-11-04 12:08:53 +01:00
Léo Lam e70c1c37cd ksys/gdt: Start adding GameDataMgr 2020-11-04 02:12:27 +01:00
Léo Lam 213d9fb00d ksys/res: Add missing cLoadDataAlignment constant to GameData 2020-11-04 00:41:27 +01:00
Léo Lam f602b5c6be ksys/res: Declare registerEntryFactory
Implementation coming soon.
2020-11-04 00:41:02 +01:00
Léo Lam 7d8183f0b2 ksys: Add KingEditor (stub) 2020-11-04 00:40:08 +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 b56108318d lib: Update sead 2020-11-04 00:37:58 +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 835e11cb16 ksys/gdt: Add missing <algorithm> include 2020-11-03 02:35:38 +01:00
Léo Lam 911625ac23 ksys/res: Add GameSaveData 2020-11-03 02:27:38 +01:00
Léo Lam 92cd68c374 Update sead 2020-11-01 22:03:27 +01:00
Léo Lam c6ff7af2b0 tools/check: Avoid recreating capstone instances all the time 2020-11-01 17:01:09 +01:00
Léo Lam 41cd5cceea tools/check: Fix adrp_pair_registers not being updated for identical instructions 2020-11-01 16:57:58 +01:00
Léo Lam d0deedac4c Compare non-matching functions against expected output
This makes it possible to catch regressions for non-matching functions,
especially those that only have minor issues.

This also reclassifies some minor non-matchings as major non-matchings
whenever it's really not obvious to see that they are equivalent.
2020-11-01 15:43:22 +01:00
Léo Lam 9aacce607d tools: Reformat progress 2020-11-01 14:57:14 +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
Léo Lam c612f77fcd ksys/gdt: Implement TriggerParam::recordFlagChange 2020-10-25 14:32:56 +01:00