Commit Graph

1268 Commits

Author SHA1 Message Date
Léo Lam 0db13cb807
lib: Update sead 2022-02-09 03:14:17 +01:00
Léo Lam 2028797c8a
ksys: Fix typos in SafeDelete comments 2022-02-09 03:01:09 +01:00
Léo Lam 5f92a7b959
ksys: Remove unnecessary null checks in SafeDelete
Deleting a null pointer has no effect -- the compiler automatically
inserts a null pointer check.
2022-02-09 02:59:55 +01:00
Léo Lam 808b21530a
ksys: Document safeDelete and safeDeleteArray 2022-02-09 02:59:34 +01:00
Léo Lam ce1b6900ab
ksys/act: Fix matching issues in BaseProcJobQue 2022-02-08 22:52:51 +01:00
Léo Lam d893fd5ead
Remove unnecessary usages of sead::StorageFor
Turns out they are just value-initialised aggregates.
2022-02-08 22:11:09 +01:00
Léo Lam d3902a9ad4
tools: Update common 2022-02-07 18:32:36 +01:00
Léo Lam e9fc23b9e1
data: Fix getCollisionMasks mangled names 2022-02-07 18:26:39 +01:00
Léo Lam 53bb59d73d
readme: Add clang and libssl-dev to dependency list
needed for the Rust tools
2022-02-07 18:20:13 +01:00
Léo Lam 635be7c1e4
ksys/phys: Add RigidBodyFromResource 2022-02-07 17:47:33 +01:00
Léo Lam a3e72dd6f8
tools: Update common 2022-02-07 15:30:07 +01:00
Léo Lam 088739f111
tools: Update common 2022-02-07 01:37:43 +01:00
Léo Lam 5071567731
Havok: Add hkpSphereShape 2022-02-07 01:37:37 +01:00
Léo Lam 0e00e340ee
Merge pull request #81 from ThePixelGamer/PlacementStruct
PlacementStruct1
2022-02-07 00:27:23 +01:00
ThePixelGamer 199c7d2552 ksys/map: Implement PlacementAreaMgr 2022-02-06 13:16:17 -06:00
Léo Lam 0b5693c100
contributing: Clarify which executable should be opened in IDA/Ghidra 2022-02-04 13:12:15 +01:00
Léo Lam 154852b763
ksys/phys: Implement CylinderWaterRigidBody 2022-02-04 13:12:08 +01:00
Léo Lam a6cf379d99
Havok: Fix compile errors in non-AArch64 impls of hkSimdFloat32 2022-02-04 13:12:08 +01:00
Léo Lam e58c1a4a44
ksys/phys: Start implementing HavokCylinderWaterShape 2022-02-03 22:51:50 +01:00
Léo Lam 3af0c57f95
Havok: Fix matching issue in hkVector4f::_setRotatedDir 2022-02-03 22:11:51 +01:00
Léo Lam ced69f3e7d
ksys/phys: Implement CylinderWaterShape 2022-02-03 18:33:22 +01:00
Léo Lam 872d02a037
ksys/phys: Add CylinderRigidBody 2022-02-03 13:38:28 +01:00
Léo Lam 7875b0ad55
ksys/phys: Group shapes into folders to declutter RigidBody/Shape 2022-02-03 13:02:43 +01:00
Léo Lam 7c25fd08eb
ksys/phys: Implement CylinderShape 2022-02-03 12:44:04 +01:00
Léo Lam a2fa63495c
ksys/phys: Fix a regalloc diff in CapsuleShape::setScale 2022-02-03 12:44:04 +01:00
Léo Lam 159bc09c15
Havok: Add hkpCylinderShape 2022-02-03 00:16:34 +01:00
Léo Lam 52efb18af7
ksys/phys: Finish CapsuleShape and add CapsuleRigidBody 2022-02-02 23:20:47 +01:00
Léo Lam 5d3fd32988
ksys/phys: Add BoxWaterRigidBody::make 2022-02-02 16:18:04 +01:00
Léo Lam 55164640d5
ksys/phys: Add BoxWaterRigidBody 2022-02-02 15:36:30 +01:00
Léo Lam 2af9e079d0
ksys/phys: Add BoxWaterShape 2022-02-02 11:17:02 +01:00
Léo Lam b87f406cfa
Havok: Add hkSimdFloat32 load/store 2022-02-02 11:02:49 +01:00
Léo Lam 17ccca46dd
Havok: Add more hkVector4f operations (scalar add/sub) 2022-02-02 10:54:22 +01:00
Léo Lam d6a619dad7
Havok: Remove duplicate typedef in hkVector4fComparison
The type alias already exists in hkMath
2022-02-02 10:22:02 +01:00
Léo Lam 5861ce0011
Havok: Add hkpShapeRayCastOutput 2022-02-02 10:22:02 +01:00
Léo Lam 1a9e217dc1
Havok: Add hkVector4f::dot4xyz1 2022-02-02 00:31:40 +01:00
Léo Lam 8cec2c5399
Havok: Add hkSphere 2022-02-01 23:34:15 +01:00
Léo Lam 38e00061ee
Havok: Fix hkpShape having an extraneous destructor declaration 2022-02-01 23:21:02 +01:00
Léo Lam c95f9517e9
Havok: Fix mismatched class/struct warnings 2022-02-01 21:30:55 +01:00
Léo Lam d277eac80e
ksys/phys: Move BoxShapeParam::createShape to BoxShape::make
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-01 17:08:03 +01:00
Léo Lam 2cd2d9dc69
Havok: Add hkpPlaneShape 2022-02-01 16:49:05 +01:00
Léo Lam 6b302518fb
ksys/phys: Finish BoxRigidBody 2022-02-01 16:21:51 +01:00
Léo Lam a8915c9b05
ksys/phys: Finish BoxShapeParam 2022-01-31 19:54:06 +01:00
Léo Lam 26bd1402f2
ksys/phys: Mark BoxShapeParam::createShape as const 2022-01-31 19:48:27 +01:00
Léo Lam e596296799
ksys/phys: Use util::allocStorage in CapsuleShape to simplify allocation
Removes the need to write sizeof(T) and alignof(T).
2022-01-31 12:43:50 +01:00
Léo Lam 5c6f24368d
ksys/phys: Implement BoxShape 2022-01-31 11:10:47 +01:00
Léo Lam 32b9175c9c
lib: Update sead 2022-01-31 02:15:43 +01:00
Léo Lam 9c68ef62b5
Havok: Add hkpConvexTransformShape and hkQsTransform (stub) 2022-01-30 21:05:30 +01:00
Léo Lam 3a2ba7a23a
Havok: Add hkpBoxShape 2022-01-30 19:36:17 +01:00
Léo Lam ff2e2f9ff7
ksys/phys: Start adding BoxRigidBody 2022-01-30 19:28:36 +01:00
Léo Lam 716916d863
ksys/phys: Rename WaterCylinder to CylinderWater for consistency
"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-30 18:24:10 +01:00