Commit Graph

911 Commits

Author SHA1 Message Date
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
Léo Lam cc6527bb26
ksys/phys: Simplify calls to RigidBody::makeScopedLock
Add another overload which automatically determines whether the rigid
body world should also be locked.
2022-03-23 01:19:00 +01:00
Léo Lam e10e8dcac7
data: Update function list 2022-03-23 00:57:43 +01:00
Léo Lam a86fb2a9ed
ksys/phys: Rename BodyGroup -> StaticCompoundRigidBodyGroup
Makes it obvious that it is related to StaticCompound stuff

Also fixes the relative ordering (BodyGroup is located after Mgr code).
2022-03-23 00:52:23 +01:00
Léo Lam f3308d7bee
ksys/phys: Rename some RigidBody flags (add/remove from world) 2022-03-22 23:14:19 +01:00
Léo Lam c97cf995ef
ksys/phys: Add more StaticCompound stuff, part 1 2022-03-22 19:30:14 +01:00
Léo Lam ffcc7f659e
Remove unneeded include 2022-03-21 03:04:27 +01:00
Léo Lam ec37bc0018
ksys/phys: Add RayCastRequestMgr 2022-03-21 03:00:36 +01:00
Léo Lam 509d557731
ksys/phys: RayCastPlusBody -> RayCastBodyQuery for clarity 2022-03-21 00:31:14 +01:00
Léo Lam eca996b3fa
ksys/phys: Add RayCastPlusBody 2022-03-21 00:22:24 +01:00
Léo Lam 0890d161e5
ksys/phys: Add most remaining parts of RayCast
One last function remaining (0x0000007100fc4844) but it looks obnoxious
so I'll leave it for later.
2022-03-20 22:04:58 +01:00
Léo Lam 7f5b7f67e3
ksys/phys: Add Phantom 2022-03-20 17:04:20 +01:00
Léo Lam a98e5f6557
ksys/phys: Add ScopedWorldLock to simplify world locking/unlocking 2022-03-20 15:11:28 +01:00
Léo Lam cc270ee3ff
ksys/phys: Change getRigidBody to take a const-ref for consistency 2022-03-20 13:21:51 +01:00
Léo Lam 12505b6379
ksys/phys: Implement world/shape casting RayCast functions 2022-03-20 02:32:10 +01:00
Léo Lam 0ff9ead1d2
ksys/phys: Add RayHitCollector 2022-03-19 17:50:45 +01:00
Léo Lam f709a7c612
ksys/phys: Finish QueryContactPointInfo::Iterator 2022-03-18 21:18:15 +01:00
Léo Lam bd1c2b6ed6
ksys/phys: Start adding RayCast 2022-03-18 01:19:59 +01:00
Léo Lam 8d88461c52
Change getContactLayerBaseRelativeValue to return an int to avoid casts 2022-03-17 22:54:21 +01:00
Léo Lam e7e9644a1f
Merge pull request #91 from notyourav/bb
auto placement work
2022-03-17 08:15:49 +01:00
theo3 3d1cb480c2 auto placement work 2022-03-16 17:54:50 -07:00
alex-botw 59c85ae8c2
ksys::eco::LevelSensor::calculatePoints (#90) 2022-03-16 09:59:31 +01:00
theo3 20f0a07ab0 AddAutoPlacementCreator action 2022-03-15 22:59:38 -07:00