Commit Graph

448 Commits

Author SHA1 Message Date
Léo Lam fcc062ec30
tools: Add unknown call hook to FunctionChecker 2020-12-28 20:51:34 +01:00
Léo Lam 17c7e12a0b
uking: Fix matching issues in actions 2020-12-28 17:47:14 +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 76e5987423
uking: Fix matching issue in SiteBossFlyWaitTurnToTarget
Looks like a bug *shrug*
2020-12-28 12:07:41 +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 d9f6166ed0
tools: Deduplicate AI tool code 2020-12-27 00:59:37 +01:00
Léo Lam 18b90cea29
ksys/act: Add copies of getDynamicParam that are sometimes used 2020-12-26 16:21:16 +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 ab06c2a5ca
Split src CMakeLists 2020-12-23 12:35:59 +01:00
Léo Lam f98d3ee758
Generate stubs for queries 2020-12-22 01:50:49 +01:00
Léo Lam 60b2362ddc
Add EventFlow submodule 2020-12-21 19:38:57 +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 dbe6afa97a
ksys/act: Fix matching issue in AiClassDef 2020-12-20 16:08:51 +01:00
Léo Lam 3d279039e9
ksys: Build GameData and Resource first to speed up builds 2020-12-20 14:24:20 +01:00
Léo Lam cc5c9581b4
ksys/res: Fix copy-and-paste error 2020-12-20 00:19:01 +01:00
Léo Lam 058cca1a3f
ksys: Replace ClassContainer<T> with 4 different classes
Some functions look really similar but other functions have significant
differences, so it is probably not a class template.
2020-12-19 21:52:22 +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 cd6bf1e821
tools/rename_functions_in_ida: Drop support for IDA <7.4 2020-12-18 19:24:35 +01:00
Léo Lam a92b163884
Remove unneeded KSYS_ALWAYS_INLINE 2020-12-11 00:24:53 +01:00
Léo Lam 9269283b71
ksys/act: Add more ActionBase functions 2020-12-11 00:22:27 +01:00
Léo Lam 29abbdf4f1
readme: Explain how easy it is to match code 2020-12-10 23:40:12 +01:00
Léo Lam ecd1b9b486
Update readme information 2020-12-10 23:08:53 +01:00
Léo Lam ae23585ed2
ksys/mes: Fix incorrect dtor for TransceiverId 2020-12-10 23:00:21 +01:00
Léo Lam 72e8d72ad2
tools: Remove AI class progress counter
It won't be accurate because the factory functions can and will be
automatically generated.
2020-12-10 00:20:30 +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 cd10f3774b
Ignore unused member warnings 2020-12-09 17:15:41 +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