summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System
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-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
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-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-10-18Decompile some Action classes (#104)notyourav
* various action classes * rename instanceset fns * rename isFork -> isChangeable
2022-07-01ksys/phys: Start adding RagdollControllerLéo Lam
2022-04-02lib: Update aglLé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: Implement several easy RigidBodyRequestMgr functionsLéo Lam
2022-03-26ksys/phys: Add RigidBodyRequestMgr::calc1Léo Lam
2022-03-23ksys/phys: Rename BodyGroup -> StaticCompoundRigidBodyGroupLéo Lam
Makes it obvious that it is related to StaticCompound stuff Also fixes the relative ordering (BodyGroup is located after Mgr code).
2022-03-22ksys/phys: Rename some RigidBody flags (add/remove from world)Léo Lam
2022-03-22ksys/phys: Add more StaticCompound stuff, part 1Léo Lam
2022-03-21Remove unneeded includeLéo Lam
2022-03-21ksys/phys: Add RayCastRequestMgrLéo Lam
2022-03-21ksys/phys: RayCastPlusBody -> RayCastBodyQuery for clarityLéo Lam
2022-03-21ksys/phys: Add RayCastPlusBodyLéo Lam
2022-03-20ksys/phys: Add most remaining parts of RayCastLéo Lam
One last function remaining (0x0000007100fc4844) but it looks obnoxious so I'll leave it for later.
2022-03-20ksys/phys: Add PhantomLéo Lam
2022-03-20ksys/phys: Add ScopedWorldLock to simplify world locking/unlockingLéo Lam
2022-03-20ksys/phys: Change getRigidBody to take a const-ref for consistencyLéo Lam
2022-03-20ksys/phys: Implement world/shape casting RayCast functionsLéo Lam
2022-03-19ksys/phys: Add RayHitCollectorLéo Lam
2022-03-18ksys/phys: Finish QueryContactPointInfo::IteratorLéo Lam
2022-03-18ksys/phys: Start adding RayCastLéo Lam
2022-03-17Change getContactLayerBaseRelativeValue to return an int to avoid castsLéo Lam
2022-03-15ksys/phys: Add ShapeCastLéo Lam
2022-03-14ksys/phys: Finish ContactMgrLéo Lam
2022-03-13ksys/phys: Add ContactLayerCollisionInfoGroupLéo Lam
2022-03-13Fix matching issue in ContactMgr::processImpulseEntriesLéo Lam
2022-03-13ksys/phys: Add impulse related ContactMgr functionsLéo Lam
2022-03-10ksys/phys: Add SensorContactListenerLéo Lam
2022-03-10ksys/phys: Finish EntityContactListenerLéo Lam