Commit Graph

207 Commits

Author SHA1 Message Date
Léo Lam a3abb115b9
ksys/res: Fix missing destructor for Resource 2020-11-10 21:25:45 +01:00
Léo Lam 0a16b78855
data: Add functions that were missed because of IDA's function tail system 2020-11-10 18:48:52 +01:00
Léo Lam 24ef7add9b
data: Add several gdt functions that were missed 2020-11-10 18:36:52 +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 9b8ef52e05
Add most GameData CommonFlags functions to CSV 2020-11-10 00:39:54 +01:00
Léo Lam ce5ff17666
tools: Add script to automatically identify matches
Given a list L of functions to identify and a small list of
candidates C, this tool will attempt to automatically identify matches
by checking each function in L against each function in C.

Very slow, but this should work well enough for small lists.
2020-11-09 23:46:57 +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 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 cb5976d8ae
Add ActorCapture factory to CSV 2020-11-08 22:56:55 +01:00
Léo Lam ecec485d55
ksys: Add remaining ActorCapture functions to CSV 2020-11-08 22:45:24 +01:00
Léo Lam 7d2ef1d6b2
ksys/act: Start adding ActorCaptureMgr 2020-11-08 22:26:54 +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 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 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 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 911625ac23
ksys/res: Add GameSaveData 2020-11-03 02:27:38 +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 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 c612f77fcd
ksys/gdt: Implement TriggerParam::recordFlagChange 2020-10-25 14:32:56 +01:00
Léo Lam 660336044f
ksys/gdt: Implement more TriggerParam functions 2020-10-24 23:30:53 +02:00
Léo Lam f886213593
data: Mark _ZN4ksys4util13TaskQueueBase4pushERKNS1_7PushArgE as matching 2020-10-24 17:53:38 +02:00
Léo Lam 6cb668288f
data: Rename ksys::gdt::Flag<T>::getRandomResetData to FlagT<T> 2020-10-24 01:31:47 +02:00
Léo Lam 1cbb1a3311
Merge pull request #13 from notyourav/pr
decompile DamageParam
2020-10-24 01:21:18 +02:00
theo3 b11347344a decompile DamageParam 2020-10-23 16:15:23 -07:00
Léo Lam a26ae0ba91
ksys/gdt: Start adding TriggerParam 2020-10-22 18:54:26 +02:00
Léo Lam 228471ee3c
Merge pull request #12 from notyourav/pr3
decompiled resResourceAwareness
2020-10-21 00:59:59 +02:00
theo3 4bb4c935a6 decompiled resResourceAwareness 2020-10-20 15:48:31 -07:00
Léo Lam 3287f5eb25
Merge pull request #8 from notyourav/pr
resResourceShop decompiled
2020-10-21 00:40:39 +02:00
Léo Lam 38859e0f6e
Merge pull request #11 from wildex999/master
ksys/dmg: Implementing some of DamageManagerBase.
2020-10-21 00:32:43 +02:00
Wildex999 05a69f745b ksys/dmg: Implementing some of DamageManagerBase. Added some temporary classes/variables used by DamageManagerBase. 2020-10-21 00:19:48 +02:00
theo3 c562d67fab resResourceShop decompiled 2020-10-20 15:00:08 -07:00
Léo Lam 27da317935
ksys/res: Add GameData 2020-10-18 20:52:02 +02:00
Léo Lam e3fd543178
ksys/gdt: Add Flag 2020-10-17 22:31:35 +02:00
Léo Lam dbaac9cb78
ksys/act: Add InstParamPack 2020-10-16 00:06:18 +02:00
Léo Lam 2d721f8969
ksys/eco: Add LevelSensor header
It's not implementable yet because Ecosystem and some act:: code hasn't
been decompiled yet.
2020-10-15 21:04:51 +02:00