summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-02-09ksys: Remove unnecessary null checks in SafeDeleteLéo Lam
Deleting a null pointer has no effect -- the compiler automatically inserts a null pointer check.
2022-02-09ksys: Document safeDelete and safeDeleteArrayLéo Lam
2022-02-08ksys/act: Fix matching issues in BaseProcJobQueLéo Lam
2022-02-08Remove unnecessary usages of sead::StorageForLéo Lam
Turns out they are just value-initialised aggregates.
2022-02-07ksys/phys: Add RigidBodyFromResourceLéo Lam
2022-02-06ksys/map: Implement PlacementAreaMgrThePixelGamer
2022-02-04ksys/phys: Implement CylinderWaterRigidBodyLéo Lam
2022-02-03ksys/phys: Start implementing HavokCylinderWaterShapeLéo Lam
2022-02-03ksys/phys: Implement CylinderWaterShapeLéo Lam
2022-02-03ksys/phys: Add CylinderRigidBodyLéo Lam
2022-02-03ksys/phys: Group shapes into folders to declutter RigidBody/ShapeLéo Lam
2022-02-03ksys/phys: Implement CylinderShapeLéo Lam
2022-02-03ksys/phys: Fix a regalloc diff in CapsuleShape::setScaleLéo Lam
2022-02-02ksys/phys: Finish CapsuleShape and add CapsuleRigidBodyLéo Lam
2022-02-02ksys/phys: Add BoxWaterRigidBody::makeLéo Lam
2022-02-02ksys/phys: Add BoxWaterRigidBodyLéo Lam
2022-02-02ksys/phys: Add BoxWaterShapeLé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-02-01ksys/phys: Finish BoxRigidBodyLéo Lam
2022-01-31ksys/phys: Finish BoxShapeParamLéo Lam
2022-01-31ksys/phys: Mark BoxShapeParam::createShape as constLéo Lam
2022-01-31ksys/phys: Use util::allocStorage in CapsuleShape to simplify allocationLéo Lam
Removes the need to write sizeof(T) and alignof(T).
2022-01-31ksys/phys: Implement BoxShapeLéo Lam
2022-01-30ksys/phys: Start adding BoxRigidBodyLéo Lam
2022-01-30ksys/phys: Rename WaterCylinder to CylinderWater for consistencyLéo Lam
"Water" is used as a suffix (e.g. a box of water is called "BoxWater", not "WaterBox"). This naming convention has the benefit of keeping related shape types next to each other in the source file list.
2022-01-30ksys/phys: Implement most of RigidBodyFromShapeLéo Lam
2022-01-30ksys/phys: Merge physShapeParam param classes with RigidBody/ShapeLéo Lam
2022-01-30ksys/phys: Start merging physShapeParam with RigidBody/ShapeLéo Lam
Turns out we already have a bunch of ShapeParam classes in physShapeParam and parts of RigidBody/Shape are just duplicates -- whoops. ShapeParam is renamed to ShapeParamObj to avoid any confusion with the (.*)ShapeParam classes.
2022-01-30ksys/phys: Start adding RigidBodyFromShapeLéo Lam
2022-01-30ksys/phys: Fix a bool flag being defined as u32 in RigidBodyFactoryLéo Lam
2022-01-30ksys/phys: Rename some variables that were missed in 60e2b166Lé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-30ksys/phys: Add more InstanceSet membersLéo Lam
2022-01-30ksys/phys: Add RigidBodySetLéo Lam
2022-01-29More PlacementMap functionsBrian Savage
2022-01-29Add initial PlacementMap functionsBrian Savage
2022-01-29ksys/phys: Declare all remaining RigidBody functionsLéo Lam
2022-01-29ksys/phys: Rename RigidBody/UserTag broadphase border callbacksLéo Lam
2022-01-29ksys/phys: Add RigidBody velocity calc and warping functionsLéo Lam
2022-01-27ksys/phys: Add more RigidBody functionsLéo Lam
2022-01-25ksys/phys: Add RigidBody collision filter info functionsLéo Lam
Including a bunch of BitFields additions so we can get the desired codegen without sacrificing readability or flexibility. (The alternative would be building masks and masking manually.) getCollisionFilterInfo was changed to return a u32 instead of EntityCollisionFilterInfo because a collision filter info mask can be either an EntityCollisionFilterInfo or a ReceiverMask. (Also at some point we'll probably want to rename EntityCollisionFilterInfo because that is also used for sensor rigid bodies and not just for entities.)
2022-01-24ksys/phys: Rename SystemGroupHandler mFilterIndex -> mLayerTypeLéo Lam
It is actually a ContactLayerType -- there's a comparison against the contact layer type in RigidBody.
2022-01-23ksys/phys: Introduce {First,Last}{Entity,Sensor} constants to improve clarityLéo Lam
2022-01-23Merge pull request #75 from savage13/PlacementMapnotyourav
Add PlacementMap, stubs: PlacementMapMgr and PlacementMapMgrMapArray
2022-01-22ksys/act: Document some BaseProcMgr iteration functionsLéo Lam
2022-01-22ksys/phys: Add more RigidBody functions (motion, collision mask)Léo Lam
2022-01-21ksys/phys: Start adding ContactListenerLéo Lam
2022-01-21ksys/phys: Rename MemSystem to SystemLéo Lam
It was called MemSystem in the IDB because of a string in ksys::InitializeApp that referred to MemSystem initialisation as "Physics Memory System"; however that string actually referred to an initialisation step for the physics system, not to the name of the subsystem itself.
2022-01-21ksys/phys: Add one more RigidBody functionLéo Lam
2022-01-20Added missing include for sead::BufferBrian Savage