summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics
AgeCommit message (Collapse)Author
2026-10-16ksys/phys: move motionTypeFromText to physUtilLéo Lam
motionTypeFromText isn't part of physDefines: its "Keyframed" string (only used there) sits between the StaticCompound and PlayReport strings in .rodata, far from physDefines' enum text, and the function is linked right after the contact listener's inline virtuals, so it most likely starts a new TU at 0x7100fd069c. Nothing separates it from getMaterialMaskFromShape and the other helpers in physUtil, so it goes in the same file and its declaration moves to physUtil.h. That part is a guess: neither function has data that would show a boundary. (AI assisted using Claude Opus 5.5)
2026-10-16ksys/phys: rename physStaticCompoundUtil to physUtilLéo Lam
Most of these helpers have nothing to do with StaticCompound: they look up material masks and collision filter info from shapes and collidables. physUtil also fits the link order, between physUserTag and physWorld, and it's what the function groups already call this block. (AI assisted using Claude Opus 5.5)
2026-10-13ksys/phys: rearrange the folder layout to match link orderLéo Lam
A folder's files are linked before its subfolders, and the rigid body files are linked as one flat sequence. ListShape is the one file that does not fit this order. | Old | New | |---|---| | RigidBody/Shape/<Kind>/phys<Kind>Shape.cpp | RigidBody/Shape/phys<Kind>Shape.cpp | | RigidBody/Shape/<Kind>/phys<Kind>RigidBody.cpp | RigidBody/physRigidBody<Kind>.cpp | | RigidBody/Shape/List/physListShapeRigidBody.cpp | RigidBody/physRigidBodyListShape.cpp | | physHavokMemoryAllocator.cpp | System/physHavokMemoryAllocator.cpp | | StaticCompound/physStaticCompound{,Mgr,RigidBodyGroup,Util}.cpp | System/ | | StaticCompound/physStaticCompound{Info,Autogen}.cpp | System/physStaticCompoundInfo.cpp | The original has the type infos' cleanup functions just before StaticCompoundInfo's functions, so the merged file defines the reflection data first, with plain static cleanup functions as in Havok's generated reflection code. Template instantiations would be emitted after the rest of the file. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
2026-10-10lib: migrate to new nnsdk repoPistonight
2026-10-06The task and thread families are plain ksys::Léo Lam
They link in the same block as the plain-ksys:: Message family. getItemValue and applyScreenFade sit in engine UI TUs, hence ksys::ui. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
2026-10-06Name placeholder declarations after the IDBLéo Lam
Keeps source and CSV from drifting from the IDB. Names are read from the bodies, e.g. ActionBase::applyParams is what all 13 non-stub overrides of that slot do. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
2026-09-08Document ContactPointInfo callback contractTarun Bandi
2026-07-30Merge pull request #185 from RobbyV2/phys-system-heap-accessorsMichael Zhao
Match phys::System heap accessors
2026-07-30phys: match System contact listener and group handler functionsRobbyV2
2026-07-30phys: match System heap accessorsRobbyV2
2026-07-29Merge pull request #182 from RobbyV2/actor-get-character-controllerMichael Zhao
Match Actor::getCharacterController
2026-07-28Match Actor::getCharacterControllerRobbyV2
2026-07-24ksys::phys::System: implement isPaused and collision/handler helpersmairokaizo
2025-11-01lib: Update `sead`MonsterDruide1
2025-05-24Reformat with clang-format 19.1Léo Lam
2024-08-28Update agl, nnSdk, seadThePixelGamer
2024-07-26Update libraries and adjust code to match againThePixelGamer
2022-12-21ksys/phys: Add RagdollController (the real one, not RagdollInstance)Léo Lam
2022-12-20ksys/phys: Rename RagdollController to RagdollInstanceLéo Lam
RagdollController is a different thing!
2022-12-20ksys/phys: Add RagdollController::getTransform and moreLéo Lam
Credit to @Dragorn421 for helping me figure out the rotation matrix thing in the getTransform function
2022-12-20lib: Update seadLéo Lam
2022-12-19ksys/phys: Improve RagdollController::setUnk1 matchLéo Lam
https://discord.com/channels/688807550715560050/745633101157498880/1054479382892249119 [20:24]TheGreatB3: The Wii U version sets the fields to zero if the value is less than zero, so I think it's really using clamp.
2022-12-19ksys/phys: Match RagdollController::setUnk1Léo Lam
2022-12-19ksys/phys: Implement the rest of the easy RagdollController functionsLéo Lam
2022-12-19ksys/phys: Implement more RagdollController functionsLéo Lam
2022-12-18ksys/phys: Clarify EntityCollisionMask structure and namesLéo Lam
2022-12-18ksys/phys: Finish RagdollRigidBody and add more RagdollController functionsLéo Lam
2022-12-17ksys/phys: Use named bools in RigidBody to improve call site readabilityLéo Lam
2022-11-21Implement TeraMeshRigidBody class (#107)Briggs Baltzell
2022-11-20Implement ksys::phys::CharacterPrismShape class (#106)Briggs Baltzell
2022-10-18Decompile some Action classes (#104)notyourav
* various action classes * rename instanceset fns * rename isFork -> isChangeable
2022-08-28ksys/phys: Remove useless includeLéo Lam
2022-07-01ksys/phys: Start adding RagdollControllerLéo Lam
2022-06-22ksys/phys: Add AlsoLockWorld to improve call site readabilityLéo Lam
2022-06-21ksys/phys: Add SkeletonMapperLéo Lam
2022-05-01ksys/phys: Finish ModelBoneAccessorLéo Lam
2022-04-19ksys/phys: Finish detail::ModelSkeletonLéo Lam
2022-04-14ksys/phys: Implement `SphereShape` and `SphereRigidBody` (#92)ConorB
2022-04-02lib: Update aglLéo Lam
2022-04-01ksys/phys: Start adding ModelBoneAccessorLéo Lam
Needs gsys::Model stuff before I can continue
2022-03-29ksys/phys: Add BoneAccessorLéo Lam
2022-03-27ksys/phys: Add HavokMemoryAllocatorLéo Lam
2022-03-26ksys/phys: Add more InstanceSet member variablesLéo Lam
2022-03-26ksys/phys: Merge duplicate definitions of RagdollControllerLéo Lam
2022-03-26ksys/phys: Add RagdollRigidBody stubLéo Lam
Needed for RagdollController.
2022-03-26ksys/phys: Implement several easy RigidBodyRequestMgr functionsLéo Lam
2022-03-26ksys/phys: Add RigidBodyRequestMgr::calc1Léo Lam
2022-03-26ksys/phys: Add RagdollControllerMgrLéo Lam
Also contains readability/accuracy fixes to LockFreeQueue.
2022-03-25ksys/phys: Finish StaticCompoundMgrLéo Lam
2022-03-25ksys/phys: Fix misleading name for StaticCompound::disableCollisionLéo Lam