Commit Graph

1446 Commits

Author SHA1 Message Date
Léo Lam 5b40c220e5
Fix extra semicolons and enable -Wextra-semi warning 2022-06-24 14:54:21 +02:00
Léo Lam ac2df65376
Add clang-tidy config
Based on CLion's default config, minus checks that are not useful or do
not work for a matching decomp project
2022-06-24 03:25:55 +02:00
Léo Lam 03410f3eb3
ksys/util: Add range() and indexIter() for convenience
- range() is similar to Python's range()

- indexIter() can be used to simplify `for (int i = 0, n = c.size(); i < n; ++i)`
  index-based loops
2022-06-22 20:23:08 +02:00
Léo Lam c423a56a63
ksys/phys: Add AlsoLockWorld to improve call site readability 2022-06-22 20:23:08 +02:00
Léo Lam a68d10ec47
Contributing: Mention VSCode build type quirk 2022-06-22 20:23:08 +02:00
Léo Lam 9e65e7a9eb
Contributing: Mention how to switch between hex and decimal in IDA 2022-06-22 01:02:03 +02:00
Léo Lam 9f25b2ec73
Contributing: Mention how to import types into the IDB 2022-06-21 22:43:23 +02:00
Léo Lam 36cd120d26
Contributing: Mention what must be kept the same when reimplementing 2022-06-21 22:23:59 +02:00
Léo Lam f2ceb76ee9
Contributing: Mention rename_functions_in_ida.py 2022-06-21 21:55:37 +02:00
Léo Lam 42eaef227b
Contributing: Add a mini-guide for IDA and Ghidra 2022-06-21 21:52:58 +02:00
Léo Lam d80ccb8371
ksys/phys: Add SkeletonMapper 2022-06-21 00:29:14 +02:00
Léo Lam 83ae6b5d52
Merge pull request #94 from ConorBobbleHat/master
Switch ProductReporter::incrementSceneAndRomWorkTime to using lambdas
2022-06-20 22:17:51 +02:00
ConorBobbleHat 4424bcfb51 Change ksys::ProductReporter::incrementSceneAndRomWorkTime to use lambdas instead of member functions 2022-06-20 21:09:43 +01:00
ConorB e1c1cfe79e
ksys::ProductReporter (#93)
Co-authored-by: ConorBobbleHat <ConorBobbleHat>
2022-06-19 13:52:59 +02:00
Léo Lam 2eeae37cf7
lib: Update nnSdk 2022-05-02 02:16:08 +02:00
Léo Lam 32add253b3
ksys/phys: Finish ModelBoneAccessor 2022-05-01 22:10:06 +02:00
Léo Lam a566e7eacc
ksys: Remove BitSet.h from source file list 2022-04-19 00:35:09 +02:00
Léo Lam 538e86884c
ksys/phys: Finish detail::ModelSkeleton 2022-04-19 00:32:34 +02:00
Léo Lam bcaacf0700
Remove BitSet as sead::LongBitFlag is equivalent 2022-04-19 00:32:23 +02:00
Léo Lam 58a008dfca
gsys: Add (placeholder) ModelUnit fields 2022-04-18 22:40:30 +02:00
ConorB 6ca1c6fd5a
ksys/phys: Implement `SphereShape` and `SphereRigidBody` (#92) 2022-04-14 00:35:04 +02:00
Léo Lam 0127ac2064
gsys: Add more Model fields 2022-04-07 01:57:21 +02:00
Léo Lam c7a0797fe4
gsys: Add ModelUnit virtual functions 2022-04-07 01:40:54 +02:00
Léo Lam 55f8bde652
gsys: Add ModelSceneConfig 2022-04-06 11:52:54 +02:00
Léo Lam 8e445021ab
Update tools 2022-04-06 11:39:50 +02:00
Léo Lam d7efbae7c2
Build with UKING_V150 define
So that we can account for version differences in libraries.
2022-04-03 15:45:05 +02:00
Léo Lam 15db815f86
lib: Update agl 2022-04-02 13:00:50 +02:00
Léo Lam 68de65a9df
lib: Update sead 2022-04-02 12:52:46 +02:00
Léo Lam 76b095e8fa
Update function list 2022-04-01 12:49:12 +02:00
Léo Lam 56b00c33d2
Switch back to submodules
Subrepos are too fragile and break if there are changes in the upstream
repo and in the main repo, or after doing a rebase/merge
2022-04-01 12:11:56 +02:00
Léo Lam a5edc2d60b
ksys/phys: Start adding ModelBoneAccessor
Needs gsys::Model stuff before I can continue
2022-04-01 01:37:25 +02:00
Léo Lam 9d02ca33d8
gsys: Add Model, ModelAccessKey and ModelUnit stubs 2022-03-31 23:17:34 +02:00
Léo Lam 6ce04bccaa
g3d: Add ICalculateWorldCallback 2022-03-31 12:47:40 +02:00
Léo Lam b1b97f509d
ksys/phys: Add BoneAccessor 2022-03-29 20:00:44 +02:00
Léo Lam 288b3421a0
Havok: Fix HK_FORCE_INLINE to actually force inlining
...using the always_inline attribute
2022-03-29 19:14:10 +02:00
Léo Lam 5d6f2f0569
Havok: Fix bugged vnegq_f32 in hkVector4f::setNeg<3> 2022-03-29 17:45:12 +02:00
Léo Lam 0a19a4b057
Havok: Fix hkVector4f::setReciprocal 2022-03-29 17:45:12 +02:00
Léo Lam f86b6dde65
ksys/phys: Add HavokMemoryAllocator 2022-03-27 19:38:12 +02:00
Léo Lam 3a206f92c8
heap/ExpHeap: Declare getAllocatedSize 2022-03-27 19:24:43 +02:00
Léo Lam a6f37367d2
Havok: Add more ragdoll header stubs 2022-03-27 17:24:23 +02:00
Léo Lam f85ac9793d
data: Remove false positives from the function list 2022-03-27 16:45:45 +02:00
Léo Lam 8c01d32ac4
Havok: Add ragdoll stuff 2022-03-27 15:06:41 +02:00
Léo Lam 5df0fb2a6d
ksys/phys: Add more InstanceSet member variables 2022-03-26 23:25:06 +01:00
Léo Lam f1398cd0b1
ksys/phys: Merge duplicate definitions of RagdollController 2022-03-26 18:44:58 +01:00
Léo Lam 301ad689ab
ksys/phys: Add RagdollRigidBody stub
Needed for RagdollController.
2022-03-26 18:41:44 +01:00
Léo Lam 7e9d9927e1
ksys/phys: Implement several easy RigidBodyRequestMgr functions 2022-03-26 17:56:02 +01:00
Léo Lam b3c9e97e00
ksys/phys: Add RigidBodyRequestMgr::calc1 2022-03-26 17:42:31 +01:00
Léo Lam 783e6a510f
ksys/phys: Add RagdollControllerMgr
Also contains readability/accuracy fixes to LockFreeQueue.
2022-03-26 17:42:24 +01:00
Léo Lam 9f8530ec90
ksys/phys: Finish StaticCompoundMgr 2022-03-25 23:22:12 +01:00
Léo Lam f3b3653b0f
ksys/map: Fix misleading names for wrappers around StaticCompound::setInstanceEnabled 2022-03-25 22:24:33 +01:00