Commit Graph

933 Commits

Author SHA1 Message Date
Léo Lam bdd2015a08
ksys/phys: Implement more RagdollController functions 2022-12-19 00:07:21 +01:00
Léo Lam 20be3a197a
ksys/phys: Clarify EntityCollisionMask structure and names 2022-12-18 18:58:23 +01:00
Léo Lam 30368facc0
ksys/phys: Finish RagdollRigidBody and add more RagdollController functions 2022-12-18 01:24:44 +01:00
Léo Lam 7934e14ad6
ksys/phys: Use named bools in RigidBody to improve call site readability 2022-12-17 22:10:38 +01:00
Briggs Baltzell 1f2a38ec2a
Implement TeraMeshRigidBody class (#107) 2022-11-21 21:10:28 +01:00
Briggs Baltzell d38a6b546b
Implement ksys::phys::CharacterPrismShape class (#106) 2022-11-20 21:37:01 +01:00
ecumber 729a6291b6 Add NXArgs 2022-11-19 11:42:21 -08:00
notyourav 2f62d26424
Decompile some Action classes (#104)
* various action classes

* rename instanceset fns

* rename isFork -> isChangeable
2022-10-18 08:27:57 +02:00
Léo Lam 18510196d9
ksys: Refactor VFRVec3f::chase into reusable/inlinable function
Might be useful for https://decomp.me/scratch/n58lh
2022-10-13 01:58:10 +02:00
louist103 0bdc0c7611
Decompile most of E3mgr (#101) 2022-10-09 11:21:08 +02:00
Léo Lam ff178f779b
ksys/phys: Remove useless include 2022-08-28 00:35:45 +01:00
savage13 42e87bb992
Added WeatherMgr::rollNewWeather (#100) 2022-08-08 11:35:44 +01:00
ecumber 3034895d2f VideoRecorder added 2022-07-24 22:03:55 -07:00
Léo Lam 9d3bc8cfe1
ksys/phys: Start adding RagdollController 2022-07-01 20:34:20 +02:00
Léo Lam a58231b44a
IteratorUtil: Fix missing constexpr on getIndex() 2022-07-01 17:01:40 +02:00
Léo Lam 0912686d9b
IteratorUtil: Forward (non-reference) return types correctly
With auto&, an operator[] that returns a value (and not a reference)
would result in the proxy returning a reference to a local temporary,
which is UB
2022-07-01 17:01:40 +02:00
Léo Lam bd8b3dc61d
Add clang-tidy config to help enforce naming conventions 2022-06-30 16:36:10 +02:00
Tonycons-dev fe98f6f0f3 Add ksys::Patrol & ksys::Terminal
parent 43e001017f author Tonycons-dev <70544875+Tonycons-dev@users.noreply.github.com> 1656184351 -0400 committer Tonycons-dev <70544875+Tonycons-dev@users.noreply.github.com> 1656432051 -0400

Squash commits again (last one messed up)
2022-06-28 15:41:38 -04:00
Tonycons-dev 43e001017f
ksys: Add Hio (#95) 2022-06-25 21:12:31 +02:00
Léo Lam 5b40c220e5
Fix extra semicolons and enable -Wextra-semi warning 2022-06-24 14:54:21 +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 d80ccb8371
ksys/phys: Add SkeletonMapper 2022-06-21 00:29:14 +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 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
ConorB 6ca1c6fd5a
ksys/phys: Implement `SphereShape` and `SphereRigidBody` (#92) 2022-04-14 00:35:04 +02:00
Léo Lam 15db815f86
lib: Update agl 2022-04-02 13:00:50 +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 b1b97f509d
ksys/phys: Add BoneAccessor 2022-03-29 20:00:44 +02:00
Léo Lam f86b6dde65
ksys/phys: Add HavokMemoryAllocator 2022-03-27 19:38:12 +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
Léo Lam a63b816ffc
ksys/phys: Fix misleading name for StaticCompound::disableCollision 2022-03-25 22:20:57 +01:00
Léo Lam 82a5319200
ksys/phys: Finish StaticCompound 2022-03-25 22:11:36 +01:00
Léo Lam 4b2c55b82b
Use sead::Buffer::fill where applicable
Equivalent, shorter, more readable, and matching!
2022-03-25 21:34:03 +01:00
Léo Lam 5e6d930816
ksys/phys: Add ScRigidBodyGroup::Unk1 and one missed function 2022-03-25 00:33:03 +01:00
Léo Lam 7136dc0115
ksys/phys: Rename ScRigidBodyGroup functions/members for clarity 2022-03-25 00:18:49 +01:00
Léo Lam 68cf6ed385
ksys/phys: Finish StaticCompoundRigidBodyGroup 2022-03-24 22:24:58 +01:00
Léo Lam 0b636cdd02
ksys/phys: Rename RigidBody flag 8 (IsAddedToWorld)
Forgot to do this in a previous commit.
2022-03-23 10:06:09 +01:00
Léo Lam cfb1f1e074
ksys/phys: Add more StaticCompound functions, part 2 2022-03-23 10:04:43 +01:00