Commit Graph

558 Commits

Author SHA1 Message Date
Léo Lam 6deecbee61
ksys/phys: Add isSensorLayer and makeContactLayerMask 2021-04-24 11:18:14 +02:00
Léo Lam 2fe382fb1a
Fix AttCheck factory symbols 2021-04-23 19:47:21 +02:00
Léo Lam f98b6b0dba
ksys/res: Start adding AttCheck
Most of the check() functions are unimplemented because they require
doing more physics/collision stuff.
2021-04-23 19:16:18 +02:00
Léo Lam 3699e85f8e
ksys: Finish implementing ParamIO 2021-04-23 13:28:32 +02:00
Léo Lam 201d2ff06f
ksys/act: Finish implementing ActorParamMgr 2021-04-23 12:53:04 +02:00
Léo Lam 2015796b80
ksys: Fix signature of KingEditorComponent::syncData
The buffer needs to be mutable. ActorParamMgr modifies it for example
2021-04-22 23:39:46 +02:00
Léo Lam 136f20427d
ksys/phys: Implement ParamSet and res::Physics 2021-04-22 19:37:58 +02:00
Léo Lam f6e4643808
ksys/phys: Add RigidBodySetParam 2021-04-22 18:39:28 +02:00
Léo Lam cbe711e595
ksys/phys: Add RigidBodyParam 2021-04-22 18:21:36 +02:00
Léo Lam dd705aea99
ksys/phys: Add CharacterControllerParam 2021-04-22 01:18:45 +02:00
Léo Lam 1631e2aae3
ksys/phys: Add ContactInfoParam 2021-04-21 18:49:25 +02:00
Léo Lam f59bc21b3a
ksys/phys: Add ShapeParam 2021-04-21 18:20:18 +02:00
Léo Lam f9d6eedc9f
ksys/phys: Start adding physics parameter structs
* SupportBoneParam
* RagdollParam
* ClothSetParam, ClothSubWindParam, ClothParam
* EdgeRigidBodySetParam, EdgeRigidBody
* ParamSet (only the header for now)
2021-04-21 13:02:00 +02:00
Léo Lam 63472349c7
ksys/res: Implement AISchedule 2021-04-20 18:55:03 +02:00
Léo Lam 441a0e5240
ksys/res: Implement RagdollBlendWeight 2021-04-20 18:40:09 +02:00
Léo Lam 92c7645e70
ksys/res: Implement RagdollConfigList 2021-04-20 16:31:21 +02:00
Léo Lam 2e966d034c
ksys: Fix matching issue in _ZN4ksys4phys13RagdollConfig15PartImpulseInfoC1Ev (missing external constants) 2021-04-20 15:02:46 +02:00
Léo Lam c95a79bbc1
Rename aoc2 to HardModeManager
It seems to have been called HardModeManager according to a leftover
context name for loading Aoc/0010/Ecosystem/HardMode.byml
(which also doesn't exist anymore).
2021-04-20 12:08:07 +02:00
Léo Lam 3fc1957cc2
ksys/res: Implement RagdollConfig 2021-04-14 20:03:11 +02:00
Léo Lam 3a7b4df04c
ksys/phys: Add RagdollConfig 2021-04-14 19:27:41 +02:00
Léo Lam 6e08ff5029
ksys/res: Implement AS 2021-04-14 00:45:59 +02:00
Léo Lam 49a96d9e62
ksys/res: Start implementing ASResource classes 2021-04-13 18:34:46 +02:00
Léo Lam 7363712865
ksys/res: Finish implementing ASExtensions 2021-04-11 15:54:21 +02:00
Léo Lam 9846d6fef9
ksys/res: Implement remaining AS param parser classes 2021-04-11 12:28:40 +02:00
Léo Lam 1a5d9aba68
Fix matching issue in _ZN4ksys3res9ASSetting10BoneParams5parseERKNS0_13ASParamParser9ParseArgsE 2021-04-11 00:50:23 +02:00
Léo Lam e9184e2e41
ksys/res: Implement BoneParams::getBoneWeight 2021-04-10 22:45:51 +02:00
Léo Lam 5c1af0b449
data: Add ASElement class vtables and inheritance information 2021-04-10 16:08:16 +02:00
Léo Lam 6cf8dd42cb
ksys/res: Implement _GLOBAL__sub_I_resResourceASList.cpp 2021-04-09 00:58:21 +02:00
Léo Lam a5aaebd020
ksys/res: Finish implementing ASList 2021-04-09 00:48:33 +02:00
Léo Lam 364b825ce8
ksys/res: Start implementing ASList 2021-04-08 03:02:44 +02:00
Léo Lam 2364c80231
Update sead and fix sead::Buffer::tryAllocBuffer issues 2021-04-08 02:18:37 +02:00
Léo Lam e3b3ebe165
ai: Implement GameDataFlagSelector 2021-04-07 21:25:38 +02:00
Léo Lam d0d5832c8d
ai: Implement Fork*AI* 2021-04-07 20:58:23 +02:00
Léo Lam 3dc1988b02
ai: Implement ForkAI 2021-04-07 20:54:25 +02:00
Léo Lam 88f69b04ec
action: Implement Fork 2021-04-07 19:25:02 +02:00
Léo Lam 2cf1e01137
ksys/gdt: Implement more TriggerParam functions and StageInfo 2021-04-07 18:46:55 +02:00
Léo Lam f3f4cb78a4
ksys/gdt: Implement Manager::loadShopGameDataInfo 2021-04-04 16:31:07 +02:00
Léo Lam 62181dd4db
ksys/gdt: Implement more Manager functions 2021-04-04 02:28:25 +02:00
Léo Lam 1b280ba633
ksys: Implement KingEditor (stubbed) 2021-04-03 15:44:54 +02:00
Léo Lam 9251925ede
ksys/gdt: Implement more Manager functions 2021-04-03 01:22:04 +02:00
Léo Lam d3d474b969
ksys/res: Give better names to Handle flags and status enum values 2021-03-31 01:11:13 +02:00
Léo Lam a7868ad340
Implement aoc::Manager::setGameDataFlags 2021-03-28 21:55:46 +02:00
Léo Lam c3528b3911
Implement most of aocManager
And fix FileDevicePrefix's userdata param type
2021-03-28 21:19:55 +02:00
Léo Lam 96157129f8
Remove PLT stubs from function list
They're not going to be decompiled manually
2021-03-27 16:30:28 +01:00
Léo Lam 24be360af1
Update sead 2021-03-27 15:53:08 +01:00
Léo Lam 9094fe3db3
Mark _ZN4sead9WorkerMgrC1Ev as matching after sead update 2021-03-27 02:34:09 +01:00
Léo Lam aa766a1977
Implement more parts of aocManager 2021-03-27 02:34:08 +01:00
Léo Lam 1bd2f03de8
query: Implement CheckGiveReward 2021-03-26 19:11:12 +01:00
Léo Lam 9e37c75996
query: Implement CheckIsOpenItemCategory 2021-03-26 19:09:00 +01:00
Léo Lam 1bff3a20cf
query: Implement CheckGetDemoTypeFromArg 2021-03-26 15:08:40 +01:00
Léo Lam 0e07294548
query: Implement CheckFame 2021-03-26 14:56:24 +01:00
Léo Lam d39e8400fc
query: Implement CheckContainerItem 2021-03-26 14:53:24 +01:00
Léo Lam b72b160b43
query: Implement CheckFlag 2021-03-26 14:49:46 +01:00
Léo Lam 2cbe98381e
query: Implement CheckDieCnt 2021-03-26 14:46:07 +01:00
Léo Lam bc8b8d5829
query: Implement CompareGameDataTime 2021-03-26 02:04:50 +01:00
Léo Lam ce3d29d2ec
query: Implement CompareGameDataInt 2021-03-26 01:30:18 +01:00
Léo Lam c5d1bd69a2
query: Implement CompareGameDataFloat 2021-03-26 01:23:31 +01:00
Léo Lam a36463b339
query: Implement CheckGameDataInt 2021-03-26 00:48:51 +01:00
Léo Lam 69fcdfbed7
ksys/res: Start adding AnimInfo
not going to do parse() for now, it's a major pain
2021-03-24 00:18:58 +01:00
Léo Lam 5752f1b676
ksys: Finish UMii class 2021-03-23 18:56:39 +01:00
Léo Lam 814baf809e
ksys: Add mii::UMii 2021-03-23 15:22:33 +01:00
Léo Lam ddf55e78da
ksys/res: Finish implementing Chemical 2021-03-21 19:04:44 +01:00
Léo Lam 46dc4bf31c
ksys/chm: Add Root 2021-03-21 18:34:00 +01:00
Léo Lam 1394d3536d
ksys/chm: Add Rigid 2021-03-21 17:27:02 +01:00
Léo Lam c78af3b981
lib: List more agl functions 2021-03-21 17:24:00 +01:00
Léo Lam a251f0c85f
lib: Update agl 2021-03-21 16:52:39 +01:00
Léo Lam ddb26bed79
ksys/chm: Add Shape 2021-03-21 16:23:05 +01:00
Léo Lam 5737a6ea7c
ksys/res: Implement BoneControl 2021-03-20 20:00:09 +01:00
Léo Lam 737a9b522b
ksys: Add ASSetting 2021-03-20 14:36:27 +01:00
Léo Lam 8c8d9c0e70
ksys/res: Finish implementing ModelList 2021-03-20 00:17:33 +01:00
Léo Lam c181eb05b7
ksys/act: Add some ActorCreator functions 2021-03-19 01:20:18 +01:00
Léo Lam fd7e47c1d9
ksys/act: Implement BaseProc iteration 2021-03-18 14:55:31 +01:00
Léo Lam 298fa86491
ksys/act: Add more BaseProcMgr functions 2021-03-18 00:48:56 +01:00
Léo Lam eef975f585
ksys/act: Add more BaseProcMgr functions 2021-03-15 01:44:27 +01:00
Léo Lam 4f2c0a6079
ksys/act: Finish BaseProcHandle 2021-03-14 17:11:38 +01:00
Léo Lam 113cc3bb53
ksys/act: Finish BaseProcUnit 2021-03-13 22:11:49 +01:00
Léo Lam 10a7871227
ksys/act: Finish BaseProcInitializer 2021-03-13 15:16:31 +01:00
Léo Lam afb4e218fa
ksys/res: Add GameResourceSystem header 2021-03-13 14:36:06 +01:00
Léo Lam 5638f4a4e9
ksys/act: Start adding BaseProcInitializer 2021-03-12 20:07:14 +01:00
Léo Lam c23f86e6d5
ksys/act: Add BaseProcCreateTaskSelector 2021-03-12 20:00:07 +01:00
Léo Lam d072fcf7da
ksys/act: Start adding BaseProcCreateTask 2021-03-12 18:53:02 +01:00
Léo Lam 8e868dc2c3
ksys: Add HavokWorkerMgr stub 2021-03-12 16:33:56 +01:00
Léo Lam c28810405e
ksys/act: Add BaseProcDeleter 2021-03-12 13:16:11 +01:00
Léo Lam 1e4f1902c0
ksys/act: Fix pre-delete function signature
Tiny differences you only notice when doing matching decomp.
2021-03-12 01:23:14 +01:00
Léo Lam 69c78356b3
ksys/act: Add BaseProcJob and BaseProcJobQue 2021-03-11 21:59:56 +01:00
Léo Lam a1f5a6ed74
ksys/act: Add BaseProcJob utilities 2021-02-13 12:24:13 +01:00
Léo Lam 255677ebe2
ksys/act: Add BaseProcHeapMgr
Why does this exist?
2021-02-07 19:09:20 +01:00
Léo Lam 1bb0c30e64
ksys/act: Match BaseProcMgr ctor 2021-02-07 18:16:01 +01:00
Léo Lam 4ad57a05d4
ksys/evt: Mark member functions as const when applicable 2021-02-07 16:44:40 +01:00
Léo Lam db6d210a53
ksys/evt: Fix some function signatures 2021-02-07 16:44:39 +01:00
Léo Lam 6699c1fb38
ksys/evt: Fix matching issue in OrderParam::initialize 2021-02-07 16:09:02 +01:00
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