Commit Graph

417 Commits

Author SHA1 Message Date
Léo Lam 37d4a0695c
ksys/evt: Fix matching issue in OrderParam::tryAlloc 2021-02-07 16:09:02 +01:00
iTNTPiston a16f01aed7
ksys/evt: Add OrderParam ctor and dtor 2021-02-07 16:08:43 +01:00
iTNTPiston d4b49662e1
ksys/evt: Add OrderParam "add param" and assign functions 2021-02-07 16:08:18 +01:00
Léo Lam 9c6bec732f
ksys/evt: Match OrderParam "get T by name" getters 2021-02-07 15:45:09 +01:00
iTNTPiston 85430d3232
ksys/evt: Start adding OrderParam 2021-02-07 15:45:08 +01:00
Léo Lam 7e6fc1d352
ksys/act: Add BaseProcHandle static variable init function 2021-02-07 01:01:00 +01:00
Léo Lam a6bd00c2de
ksys/act: Fix BaseProc delegate member type 2021-02-07 00:58:14 +01:00
Léo Lam 5f5c27a078
ksys/act: Implement remaining BaseProc functions 2021-02-07 00:13:55 +01:00
Léo Lam 123e275283
ksys/act: Add ActorEditorNode 2021-02-06 16:10:20 +01:00
Léo Lam d5b981a233
ksys: Add ActorMessageTransceiver 2021-02-05 22:03:02 +01:00
Léo Lam f861dcaec3
ksys: Add MessageTransceiverTxOnly 2021-02-05 02:03:41 +01:00
Léo Lam 96612361e6
ksys: Add MessageTransceiverRxOnly 2021-02-05 01:07:19 +01:00
Léo Lam e237bf4b5d
ksys: Rename messaging system members for clarity 2021-02-03 23:52:03 +01:00
Léo Lam df58679dda
ksys: Add MessageBroker and finish MessageDispatcher 2021-02-03 19:27:15 +01:00
Léo Lam 6e2e22cca5
ksys: Mark MessageDispatcher::update as non-matching 2021-02-02 17:42:43 +01:00
Léo Lam dfef8dfff7
ksys: Implement several more MessageDispatcher functions 2021-02-02 14:56:58 +01:00
Léo Lam fb09e658e2
ksys: Add several MessageDispatcher functions 2021-02-01 01:41:21 +01:00
Léo Lam 36bed57207
ksys: Start adding MessageDispatcher 2021-01-31 21:50:43 +01:00
Léo Lam 8ac6752866
ksys: Add MessageProcessor 2021-01-31 16:23:51 +01:00
Léo Lam 176d687698
ksys: Add Message class 2021-01-31 14:56:17 +01:00
Léo Lam d6ee0c9183
ksys: Rename message classes for more clarity 2021-01-31 11:56:06 +01:00
Léo Lam de0480c330
ksys: Add more message system classes 2021-01-30 19:49:11 +01:00
iTNTPiston 641dd1613a EventInfoData 2021-01-29 18:01:57 -05:00
Léo Lam 2e4ecb41cf
ksys: Start adding MessageTransceiver 2021-01-29 19:20:48 +01:00
Léo Lam da6709ab83
ksys: Add MessageDispatcherBase 2021-01-29 15:20:57 +01:00
Léo Lam b9ec01bcad
Move members in ksys::mes:: to ksys::
To match the name "ksys::MessageDispatcher"
2021-01-29 12:55:54 +01:00
Léo Lam df910092a4
uking: Implement SendMessage action 2021-01-28 19:24:44 +01:00
Léo Lam fdb69b6376
ksys: Start adding more VFR utils 2021-01-27 02:19:05 +01:00
Léo Lam e33476bbc0
ksys: Rename VFR members, functions and types for clarity 2021-01-25 17:32:23 +01:00
Léo Lam 51755635aa
ksys: Implement Timer 2021-01-25 15:56:53 +01:00
Léo Lam 053c200741
ksys: Add VFR stopwatch utilities 2021-01-25 15:26:41 +01:00
Léo Lam a3892c0f59
ksys: Start adding VFR 2021-01-24 19:37:31 +01:00
Léo Lam 39856b1a7d
uking/ui: Implement getWeaponStats 2021-01-22 19:55:52 +01:00
Léo Lam 5280254ef1
uking/dmg: Implement DamageInfoMgr::isTrueFormMasterSword
And some trivial getters.
2021-01-22 17:36:21 +01:00
Léo Lam 5328fd2782
Move Damage to Game/ and add more DamageInfoMgr members
Damage stuff seems to be considered game code rather than KingSystem
code based on the function order in the executable and on the fact
that the Damage code uses other components that are known to be
in Game/U-King rather than in KingSystem.
2021-01-22 17:10:53 +01:00
Léo Lam 0d9117c1b8
ksys/act: Add remaining actInfoCommon functions 2021-01-22 16:37:57 +01:00
Léo Lam ad95be2d08
ksys/act: Fix missing parameter for InfoData::getStringByKey
Callers in actInfoData.cpp still matched because LLVM detected that the
last argument is unused and optimized it out (or inlined the function
entirely)
2021-01-22 16:37:57 +01:00
Léo Lam 5d36832608
Add a script to generate actInfoCommon
It's too tedious to write by hand
2021-01-22 16:37:57 +01:00
Léo Lam 24bb3a679a
ksys/act: Add InfoCommon Bow and Master Sword functions 2021-01-22 14:19:40 +01:00
Léo Lam bb3f05e209
uking/ui: Implement weapon and bow sorting in inventory 2021-01-22 12:35:54 +01:00
Léo Lam d9f7561588
uking/ui: Implement food sorting in inventory 2021-01-22 12:35:53 +01:00
Léo Lam 48276bb4e7
uking/ui: Implement material sorting for inventory 2021-01-22 00:14:41 +01:00
Léo Lam 7814fd527b
uking/ui: Implement shield sorting for inventory 2021-01-22 00:14:40 +01:00
Léo Lam 620eb2b39e
uking/ui: Add even more inventory functions 2021-01-21 18:12:04 +01:00
Léo Lam 3b996a212c
Track AI class decompilation macro progress 2021-01-21 12:52:56 +01:00
Léo Lam 57d3a082c2
uking/ui: Add more PauseMenuDataMgr functions 2021-01-21 01:03:57 +01:00
Léo Lam 30bbc0c54a
uking/ui: Add even more inventory functions 2021-01-20 01:36:14 +01:00
Léo Lam 0ac3ba93ad
uking/ui: Add more inventory functions 2021-01-19 19:01:27 +01:00
Léo Lam a0f67e2f7d
uking/ui: Implement PauseMenuDataMgr::addToPouch 2021-01-18 02:08:34 +01:00
Léo Lam 268f7f2d8a
uking/ui: Add inventory loading function 2021-01-17 19:46:43 +01:00
Léo Lam 01b8a01ec3
uking: Mark WeaponModifierInfo member functions as const when possible 2021-01-17 14:53:13 +01:00
Léo Lam eeeab7ab93
uking/ui: Add inventory saving function 2021-01-17 14:34: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 f7901ae193
Add missing functions to CSV 2021-01-16 21:18:24 +01:00
Léo Lam 4a6f3f9786
uking/ui: Implement "item get" PauseMenuDataMgr function 2021-01-16 21:18:24 +01:00
Léo Lam ee713ab899
uking/ui: Add "can get item" inventory functions 2021-01-11 19:00:31 +01:00
Léo Lam c28e7ace3d
uking/ui: Implement PauseMenuDataMgr::countItems 2021-01-11 15:51:22 +01:00
Léo Lam 29817a3e21
uking/act: Add most of the weapon modifier utils 2021-01-10 02:14:31 +01:00
Léo Lam 65261d02a6
lib: Update sead 2021-01-10 01:46:33 +01:00
Léo Lam 1999ea8721
ksys/act: Add GlobalParameter 2021-01-09 19:39:33 +01:00
Léo Lam 8569722db6
ksys/act: Start adding actInfoCommon 2021-01-09 17:23:38 +01:00
Léo Lam 3ce19016ec
uking/ui: Add more inventory functions 2021-01-09 13:40:43 +01:00
Léo Lam 5912b65eff
uking/ui: Add Master Sword related inventory functions 2021-01-08 12:55:01 +01:00
Léo Lam e3791db95e
Remove incomplete match 2021-01-08 12:47:44 +01:00
Léo Lam f90e96360e
uking/ui: Add some more PauseMenuDataMgr functions 2021-01-08 11:51:49 +01:00
Léo Lam ebc09f924a
uking/ui: Start adding PauseMenuDataMgr 2021-01-07 22:11:41 +01:00
Léo Lam b9d37afa1c
ksys/act: Add SameGroupActorName getters 2021-01-07 15:32:59 +01:00
Léo Lam b3fa7ae230
uking: Implement GameDataConvertIntToSring action 2021-01-01 19:21:17 +01:00
Léo Lam cb33d236a3
uking: Implement GameDataAddVec3 action 2021-01-01 19:00:46 +01:00
Léo Lam f621d136c0
uking: Implement GameDataAddInt action 2021-01-01 19:00:41 +01:00
Léo Lam 8301cb80a6
uking: Implement GameDataAddFloat action 2021-01-01 19:00:23 +01:00
Léo Lam e6d0305d57
Fix type issues in Action loadParams functions 2021-01-01 18:08:26 +01:00
Léo Lam cb19f53a48
Implement some commonly used ActorConstDataAccess functions 2021-01-01 17:29:34 +01:00
Léo Lam 3f9172043c
ksys: Implement ActorLimiter 2021-01-01 12:52:58 +01:00
Léo Lam 1f12ab9237
Add two more ActorHeapUtil functions to the CSV 2021-01-01 12:52:57 +01:00
Léo Lam 256f22deb9
ksys: Implement ActorHeapUtil 2020-12-31 17:10:05 +01:00
Léo Lam 3dd4331fc9
Add more AI matches 2020-12-31 15:09:42 +01:00
Léo Lam 028ad38b41
Add matching AI functions to CSV 2020-12-31 14:35:21 +01:00
Léo Lam 3869e440e7
Generate AIs 2020-12-31 14:16:09 +01:00
Léo Lam a226027828
Add tool to rename AI virtual functions 2020-12-31 12:46:44 +01:00
Léo Lam dd99768dc1
ksys/act: Implement most other base Ai functions
Remaining: two ASList functions we can't implement yet
2020-12-31 01:26:42 +01:00
Léo Lam 8b41b83228
Add tool to identify matching sead RTTI functions 2020-12-29 14:18:25 +01:00
Léo Lam 81b1ec96bb
Add more missed matches 2020-12-29 01:38:07 +01:00
Léo Lam 27196eb945
Add more missed matches 2020-12-29 01:22:53 +01:00
Léo Lam 6e5c8b382d
Fix some minor matching issues 2020-12-29 01:11:50 +01:00
Léo Lam 33c56f03f2
Add more matching functions to CSV 2020-12-28 23:59:48 +01:00
Léo Lam 56e1c0cfd2
Action: Fix incorrect handling of inherited virtual functions 2020-12-28 23:49:15 +01:00
Léo Lam 1b89dc7024
tools: Fix base action classes being ignored by the function matcher 2020-12-28 17:20:48 +01:00
Léo Lam 19e0f9a81c
Add more matching functions to the list 2020-12-28 10:54:51 +01:00
Léo Lam 02c583ca4d
Generate actions 2020-12-28 01:26:51 +01:00
Léo Lam dff91d6b4c
Convert data/aidef_vtables.yml to Unix line endings 2020-12-27 18:35:48 +01:00
Léo Lam 95b91196aa
Update Action function names 2020-12-26 02:41:40 +01:00
Léo Lam 60b457c522
Add script to rename Action virtual functions
Useful to keep function names synchronised between decomp, IDA and the
function CSV
2020-12-26 02:41:01 +01:00
Léo Lam b1d59ba594
tools: Add script to show non-trivial AI class hierarchies 2020-12-25 18:39:03 +01:00
Léo Lam 6f71b7b30a
ksys/act: Add more ActionBase functions 2020-12-25 12:11:33 +01:00
Léo Lam 399cde1271
ksys/act: Give more meaningful names to ai::ActionBase functions 2020-12-23 21:02:43 +01:00
Léo Lam 2dd52d903b
uking: Implement CheckGameDataFloat query 2020-12-23 17:16:38 +01:00
Léo Lam edb2de168d
Fix function list 2020-12-23 17:06:31 +01:00
Léo Lam 20a1007897
uking: Implement RandomChoiceExceptOnFlag query 2020-12-23 16:59:37 +01:00
Léo Lam 15fb041a7c
ksys/gdt: Add missing bool parameter for some getters 2020-12-23 16:00:51 +01:00