Commit Graph

380 Commits

Author SHA1 Message Date
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
Léo Lam e46f921611
uking: Implement RandomChoice{2,3,4,8} queries 2020-12-23 15:47:25 +01:00
Léo Lam eba2713653
Generate query factories as well 2020-12-23 14:22:24 +01:00
Léo Lam f98d3ee758
Generate stubs for queries 2020-12-22 01:50:49 +01:00
Léo Lam f376435211
ksys/act: Fix Query's second loadParams overload 2020-12-21 19:16:49 +01:00
Léo Lam b1470e45fa
ksys/act: Add Queries 2020-12-21 16:53:44 +01:00
Léo Lam 64b93c984e
ksys/act: Add Behaviors 2020-12-21 16:33:04 +01:00
Léo Lam 258bfd057a
ksys/act: Give better names to ActionBase/Actions functions
And get rid of Ais::clone, which is unused.
2020-12-21 15:50:21 +01:00
Léo Lam 62014b715b
ksys/act: Implement Actions, Ais 2020-12-20 18:38:18 +01:00
Léo Lam 19ef291d20
ksys/act: Add two more simple Query functions 2020-12-19 21:00:37 +01:00
Léo Lam 8a22f0bb50
ksys/act: Add more ActionBase, Ai and RootAi functions 2020-12-19 20:37:37 +01:00
Léo Lam 9269283b71
ksys/act: Add more ActionBase functions 2020-12-11 00:22:27 +01:00
Léo Lam e9cf096819
ksys/act: Rename Query::preInit -> loadParams 2020-12-09 20:51:14 +01:00
Léo Lam 930b780cd1
ksys/act: Implement more Query functions 2020-12-09 20:43:22 +01:00
Léo Lam fcbe17a3f0
ksys/act: Start adding RootAi 2020-12-09 18:11:24 +01:00
Léo Lam ad32d1abe0
ksys/act: Start adding Behavior 2020-12-09 16:10:28 +01:00
Léo Lam 632517f727
ksys/act: Add trivial Action functions 2020-12-09 14:53:37 +01:00
Léo Lam bf5be970dc
ksys/act: Start adding Ai 2020-12-09 14:53:37 +01:00
Léo Lam 610e627e25
Update function list 2020-12-06 20:34:51 +01:00
Léo Lam 933811d34a
ksys/act: Start adding ai::ActionBase 2020-12-06 19:07:38 +01:00
Léo Lam 5a1a488ed3
ksys/act: Rename ai::ClassArg for consistency with Query::InitArg 2020-12-06 16:04:13 +01:00
Léo Lam b11344bc5e
ksys/act: Finish ParamPack 2020-12-06 13:55:31 +01:00
Léo Lam a72a4b25c0
ksys/act: Add most remaining ParamPack functions 2020-12-06 02:38:22 +01:00
Léo Lam 49097ad9e6
ksys/act: Add more ParamPack functions 2020-12-05 19:02:14 +01:00
Léo Lam d3b065bfa2
ksys/act: Implement the rest of AIClassDef 2020-12-05 17:57:30 +01:00
Léo Lam fd2f653b6f
ksys/act: Start implementing AIClassDef 2020-12-05 02:34:24 +01:00
Léo Lam aea46fce5e
ksys/act: Start adding base Query class 2020-12-05 01:02:17 +01:00
Léo Lam 5672fd9397
ksys/act: Implement even more ActorUtil functions 2020-12-04 21:58:56 +01:00
Léo Lam 5b523db03b
ksys/act: Implement more ActorUtil functions 2020-12-03 01:45:28 +01:00
Léo Lam bfbe2db425
ksys/act: Implement ActorUtil placement functions 2020-12-02 23:11:51 +01:00
Léo Lam fc55c87f12
ksys/act: Implement ActorUtil "has tag" functions 2020-12-02 19:23:05 +01:00
Léo Lam 3559c31bc9
ksys/act: Don't use Tag as argument as it causes matching diffs
And fairly stupid diffs for that matter, like an additional mov w1, w1
instruction that shouldn't exist
2020-12-02 18:52:44 +01:00
Léo Lam 581b3ef144
ksys/act: Add ActorUtil header (and one function implementation) 2020-12-02 18:34:18 +01:00
theo3 2c47c801f6 partially implement ecosystem 2020-11-24 17:39:53 -08:00
Léo Lam 82eb75a449
Merge pull request #18 from h1k421/feature/nvn-loadcprocs
Add nvnLoadCProcs mapping to uking_functions.csv
2020-11-24 00:30:39 +01:00
Hikari df139c9ee1 Add nvnLoadCProcs mapping to uking_functions.csv
This is linked to https://github.com/open-ead/nnheaders/pull/1
2020-11-23 23:38:13 +01:00
Léo Lam 57de412dcb
Merge pull request #17 from h1k421/feature/nvn-pfnc
Map all NVN function pointers in data_symbols.csv
2020-11-22 20:32:59 +01:00
Hikari 0b15cf04d0 Map all NVN function pointers in data_symbols.csv 2020-11-22 18:13:17 +01:00