summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/RigidBody/Shape/physBoxShape.h
AgeCommit message (Collapse)Author
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)
2022-02-03ksys/phys: Group shapes into folders to declutter RigidBody/ShapeLéo Lam
2022-02-01ksys/phys: Move BoxShapeParam::createShape to BoxShape::makeLéo Lam
The same BoxShapeParam class is used for two different shape classes (BoxShape and BoxWaterShape) so it's more natural to move the factory function to the shape class itself
2022-01-31ksys/phys: Finish BoxShapeParamLéo Lam
2022-01-31ksys/phys: Mark BoxShapeParam::createShape as constLéo Lam
2022-01-31ksys/phys: Implement BoxShapeLéo Lam
2022-01-30ksys/phys: Start adding BoxRigidBodyLéo Lam
2022-01-30ksys/phys: Merge physShapeParam param classes with RigidBody/ShapeLéo Lam
2022-01-30ksys/phys: Fix a bool flag being defined as u32 in RigidBodyFactoryLéo Lam
2022-01-30ksys/phys: Rename Shape/Body classes to avoid confusionLéo Lam
What we currently call BoxBody, CapsuleBody, etc. is actually BoxShape, CapsuleShape, etc. (those classes encapsulate Havok shapes) So this commit renames Body -> Shape and Shape -> ShapeParam.
2022-01-16ksys/phys: Add prerequisites for RigidBody (RigidBodyParam fixes)Léo Lam
Seems to have fixed _ZN4ksys4phys11InstanceSet14sub_7100FBB00CEPNS0_9RigidBodyEPNS0_14RigidBodyParamE
2022-01-13ksys/phys: Rename RigidBodyParamView to RigidBodyInstanceParam for clarityLéo Lam
2021-12-14havok stubs and ksys::phys worktheo3