Commit Graph

497 Commits

Author SHA1 Message Date
Léo Lam c28e7ace3d
uking/ui: Implement PauseMenuDataMgr::countItems 2021-01-11 15:51:22 +01:00
Léo Lam 4c171605ff
uking/ui: Fix PouchConstants struct 2021-01-11 15:51:22 +01:00
Léo Lam d943be4ea1
uking/ui: Add named constants for inventory item limits
Cleaner
2021-01-11 15:45:06 +01:00
Léo Lam 2ae06d6b39
uking/ui: Fix another minor accuracy issue (add inline function)
Both versions match perfectly, but there is a wrapper function for
getSameGroupActorName in the Wii U version.
2021-01-10 22:58:38 +01:00
Léo Lam dd653e871f
uking/ui: Fix minor accuracy issue (don't use memcpy)
Still matches, but the original code didn't use memcpy (according to
the Wii U version)
2021-01-10 22:58:11 +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 d67568341b
ksys/util: Remove unnecessary include 2021-01-10 01:37:20 +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 9069c4e9f8
ksys/act: Add convenience wrappers for InstParamPack 2021-01-09 16:46:34 +01:00
Léo Lam 3ce19016ec
uking/ui: Add more inventory functions 2021-01-09 13:40:43 +01:00
Léo Lam 23b3047f49
Add aocManager header stub 2021-01-08 19:37:21 +01:00
Léo Lam b128c71629
readme: Clarify that no proprietary SDK or leaks are used 2021-01-08 15:31:03 +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 21cd25bcb4
Clarify project goal 2021-01-08 12:20:06 +01:00
Léo Lam f90e96360e
uking/ui: Add some more PauseMenuDataMgr functions 2021-01-08 11:51:49 +01:00
Léo Lam 8a18657290
Add missing trailing newlines 2021-01-07 22:15:11 +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 117e6891b0
Reduce code size by avoiding static inline member variables
Static inline member variables require the compiler to emit a static
runtime constructor in all translation units that can see the variables
in question. This normally wouldn't be a problem, but it gets expensive
really quickly when you have ~3000 classes and ~3000 duplicate
static constructors.

This drops the ELF size from ~270MB to ~220MB and probably speeds up
builds a little bit.
2021-01-01 19:10:46 +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 d5a9f2bc82
identify_matching_functions_by_call: Add support for matching one fn 2021-01-01 18:58:39 +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 1ab2897cf4
ksys: Forward declare BaseProc in actAiParam to improve build times
Also fix an indirect include.
2021-01-01 12:52:57 +01:00
Léo Lam 93a82661f0
ksys: Break an include cycle
BaseProcHandle was including BaseProc, which was including
BaseProcHandle, ...
2021-01-01 12:52:42 +01:00
Léo Lam 256f22deb9
ksys: Implement ActorHeapUtil 2020-12-31 17:10:05 +01:00
Léo Lam a9de0746e2
Update sead 2020-12-31 16:59:38 +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 eb7cd029ad
Silence "unused command line argument" warnings when using distcc 2020-12-30 19:17:41 +01:00
Léo Lam ae959af71e
Link with lld if possible (for build time reasons) 2020-12-29 17:14:22 +01:00
Léo Lam 834f44e556
tools: Optimize symbol parsing 2020-12-29 15:04:45 +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 fcc062ec30
tools: Add unknown call hook to FunctionChecker 2020-12-28 20:51:34 +01:00