Commit Graph

365 Commits

Author SHA1 Message Date
Léo Lam f86b6dde65
ksys/phys: Add HavokMemoryAllocator 2022-03-27 19:38:12 +02:00
Léo Lam 3a206f92c8
heap/ExpHeap: Declare getAllocatedSize 2022-03-27 19:24:43 +02:00
Léo Lam a6f37367d2
Havok: Add more ragdoll header stubs 2022-03-27 17:24:23 +02:00
Léo Lam 8c01d32ac4
Havok: Add ragdoll stuff 2022-03-27 15:06:41 +02:00
Léo Lam 0e8cad1d0d
container/Buffer: Fix matching issue in fill()
Because of this inaccuracy, fill() could never be used in practice.
2022-03-25 19:47:20 +01:00
Léo Lam c8bc5da770
git subrepo push lib/sead
subrepo:
  subdir:   "lib/sead"
  merged:   "89e6f6d63"
upstream:
  origin:   "https://github.com/open-ead/sead"
  branch:   "master"
  commit:   "89e6f6d63"
git-subrepo:
  version:  "0.4.3"
  origin:   "ssh://git@github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2022-03-25 00:03:11 +01:00
Léo Lam 0ae95f04f9
math/Matrix: Add NEON implementation of 3x4 multiplication 2022-03-24 22:23:47 +01:00
Léo Lam 1a419d0497
math/Vector: Add Vector3 rotation 2022-03-24 00:40:27 +01:00
Léo Lam cb6b94aab4
math/Matrix: Add operator* for Matrix34 multiplication 2022-03-24 00:40:27 +01:00
Léo Lam 7ca13b5938
git subrepo pull (merge) lib/sead
subrepo:
  subdir:   "lib/sead"
  merged:   "14326b350"
upstream:
  origin:   "https://github.com/open-ead/sead"
  branch:   "master"
  commit:   "14326b350"
git-subrepo:
  version:  "0.4.3"
  origin:   "ssh://git@github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2022-03-22 19:27:57 +01:00
Léo Lam 18c60323a9
Switch to subrepos
git subrepo clone https://github.com/open-ead/sead lib/sead

subrepo:
  subdir:   "lib/sead"
  merged:   "1b66e825d"
upstream:
  origin:   "https://github.com/open-ead/sead"
  branch:   "master"
  commit:   "1b66e825d"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

git subrepo clone (merge) https://github.com/open-ead/nnheaders lib/NintendoSDK

subrepo:
  subdir:   "lib/NintendoSDK"
  merged:   "9ee21399f"
upstream:
  origin:   "https://github.com/open-ead/nnheaders"
  branch:   "master"
  commit:   "9ee21399f"
git-subrepo:
  version:  "0.4.3"
  origin:   "ssh://git@github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

git subrepo clone https://github.com/open-ead/agl lib/agl

subrepo:
  subdir:   "lib/agl"
  merged:   "7c063271b"
upstream:
  origin:   "https://github.com/open-ead/agl"
  branch:   "master"
  commit:   "7c063271b"
git-subrepo:
  version:  "0.4.3"
  origin:   "ssh://git@github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

git subrepo clone https://github.com/open-ead/EventFlow lib/EventFlow

subrepo:
  subdir:   "lib/EventFlow"
  merged:   "c35d21b34"
upstream:
  origin:   "https://github.com/open-ead/EventFlow"
  branch:   "master"
  commit:   "c35d21b34"
git-subrepo:
  version:  "0.4.3"
  origin:   "ssh://git@github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2022-03-21 21:31:42 +01:00
Léo Lam ec37bc0018
ksys/phys: Add RayCastRequestMgr 2022-03-21 03:00:36 +01:00
Léo Lam 0890d161e5
ksys/phys: Add most remaining parts of RayCast
One last function remaining (0x0000007100fc4844) but it looks obnoxious
so I'll leave it for later.
2022-03-20 22:04:58 +01:00
Léo Lam 5c2e5102a0
Havok: Fix placement new in hkArrayUtil 2022-03-20 12:22:35 +01:00
Léo Lam bef04a727c
Havok: Add phantom stubs 2022-03-20 12:18:15 +01:00
Léo Lam 12505b6379
ksys/phys: Implement world/shape casting RayCast functions 2022-03-20 02:32:10 +01:00
Léo Lam 9b45b05302
lib: Update sead 2022-03-19 21:11:36 +01:00
Léo Lam 0ff9ead1d2
ksys/phys: Add RayHitCollector 2022-03-19 17:50:45 +01:00
Léo Lam 06cef6ee07
lib: Update agl 2022-03-16 16:35:13 +01:00
Léo Lam 5fd19128f5
lib: Update sead 2022-03-16 00:53:25 +01:00
Léo Lam 0c3df3ed97
ksys/phys: Add ShapeCast 2022-03-15 01:20:41 +01:00
Léo Lam 0e717ed15d
ksys/phys: Finish EntityContactListener 2022-03-10 12:58:34 +01:00
Léo Lam d6e7f6b93e
Havok: Add hkpCdPointCollector 2022-03-08 00:22:41 +01:00
Léo Lam f1ac835664
lib: Update sead 2022-03-06 19:29:05 +01:00
Léo Lam d839816081
ksys/phys: Finish ContactListener 2022-03-05 17:16:32 +01:00
Léo Lam 1518cc4960
lib: Update sead 2022-03-04 21:48:06 +01:00
Léo Lam 9b35b62368
Add more Havok prereqs for ContactListener 2022-03-03 15:06:13 +01:00
Léo Lam a222e40180
ksys/phys: Add more ContactListener functions and Havok prereqs 2022-03-03 12:29:28 +01:00
Léo Lam aa4722bedb
Havok: Fix class/struct mismatches 2022-03-03 12:24:03 +01:00
Léo Lam 18d0c53293
ksys/phys: Add some ContactListener prerequisites 2022-03-01 19:11:54 +01:00
Léo Lam c32557b793
ksys/phys: Add more EntityGroupFilter functions 2022-02-28 17:29:49 +01:00
Léo Lam 35dd6d9684
lib: Update nnSdk and agl headers 2022-02-13 21:58:32 +01:00
Léo Lam bc66305e3d
ksys/phys: Add ListShape 2022-02-12 16:43:48 +01:00
Léo Lam 9c1f080884
ksys/phys: Add most of PolytopeShape 2022-02-10 19:32:52 +01:00
Léo Lam ce88177589
Havok: Add hkpConvexVerticesShape stub 2022-02-09 22:45:00 +01:00
Léo Lam 29ffc51ad8
lib: Update NintendoSDK 2022-02-09 10:13:51 +01:00
Léo Lam 0db13cb807
lib: Update sead 2022-02-09 03:14:17 +01:00
Léo Lam 635be7c1e4
ksys/phys: Add RigidBodyFromResource 2022-02-07 17:47:33 +01:00
Léo Lam 5071567731
Havok: Add hkpSphereShape 2022-02-07 01:37:37 +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 159bc09c15
Havok: Add hkpCylinderShape 2022-02-03 00:16:34 +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 2cd2d9dc69
Havok: Add hkpPlaneShape 2022-02-01 16:49:05 +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 82286fa560
Havok: Add hkVector4f::_setRotatedDir 2022-01-28 20:32:59 +01:00
Léo Lam 907768910f
Havok: Simplfy hkVector4f::setAddMul/setSubMul 2022-01-28 20:32:59 +01:00
Léo Lam eda37507ba
Havok: Split some math headers to avoid header dependency issues 2022-01-28 18:41:09 +01:00
Léo Lam 0ef08bde7e
Havok: Simplify hkSimdFloat32::sqrt/sqrtInverse 2022-01-28 15:43:17 +01:00
Léo Lam a3bf47bd9d
Havok: Add hkQuaternionf::setMulInverse/setInverseMul 2022-01-28 15:43:17 +01:00
Léo Lam 2d352a8e0b
Havok: Implement quat and vector normalisation 2022-01-28 15:43:17 +01:00
Léo Lam 469681f9b1
Havok: Add hkVector4f sign utils 2022-01-28 15:43:16 +01:00
Léo Lam 55eb07087c
Havok: Add hkSimdFloat32 comparisons 2022-01-28 15:43:16 +01:00
Léo Lam c6193592d8
Havok: Add hkSimdFloat32 sqrt/sqrtInverse 2022-01-27 18:52:40 +01:00
Léo Lam e1f3e551cb
ksys/phys: Add more RigidBody functions 2022-01-27 01:54:56 +01:00
Léo Lam e4f1a053cd
Havok: Add missing calls to hkpRigidBody functions 2022-01-27 01:21:31 +01:00
Léo Lam bf09eea7a8
Havok: Add hkpMoppBvTreeShape 2022-01-23 14:58:29 +01:00
Léo Lam c1f24f5b91
Havok: Add hkpListShape 2022-01-22 23:59:49 +01:00
Léo Lam 1cfe586ada
lib: Update sead 2022-01-22 21:52:25 +01:00
Léo Lam 719c5f02a7
ksys/phys: Add more RigidBody functions (motion, collision mask) 2022-01-22 20:09:57 +01:00
Léo Lam 3379577a1e
Havok: Add hkpBroadPhaseBorder 2022-01-20 23:53:23 +01:00
Léo Lam 7c3bf4a382
Havok: Add Physics2012 world listener interfaces 2022-01-20 21:51:27 +01:00
Léo Lam d7e49f5fb3
Havok: Add hkpContactListener and related events 2022-01-20 21:40:12 +01:00
Léo Lam f0d4f79d75
Havok: Add hkpWorld 2022-01-20 21:40:12 +01:00
Léo Lam 88d2bc5942
Havok: Add hkpSimulation 2022-01-20 19:32:45 +01:00
Léo Lam 820dc02de1
Havok: Add missing hkArray constructor 2022-01-20 15:02:25 +01:00
Léo Lam 26d2110e88
Havok: Add hkpSimulationIsland 2022-01-20 12:16:41 +01:00
Léo Lam fe3839263e
Havok: Add hkpAction 2022-01-20 12:04:40 +01:00
Léo Lam 4935a8c950
Havok: Add hkpAgentNnTrack stub 2022-01-20 12:04:40 +01:00
Léo Lam 0c734c4cbd
Havok: Add hkpConstraintOwner 2022-01-20 12:04:40 +01:00
Léo Lam a291d84b2b
Havok: Move hkpConstraintInstance to the correct folder 2022-01-20 01:11:54 +01:00
Léo Lam 731229798a
Havok: Add hkpConstraintInternal stub and getters/setters 2022-01-19 23:03:52 +01:00
Léo Lam 52e2111ff3
ksys/phys: Add even more RigidBody functions 2022-01-19 00:33:49 +01:00
Léo Lam 98aeceed40
ksys/phys: Add more RigidBody functions
And fix a bunch of hkVector4f / hkSimdFloat32 interop matching issues.
2022-01-18 19:04:27 +01:00
Léo Lam 87bca00e68
ksys/phys: Add more RigidBody functions and Havok utils 2022-01-17 22:29:21 +01:00
Léo Lam a2cde0f0de
Havok: Add hkpConstraintInstance stub 2022-01-17 20:01:23 +01:00
Léo Lam 392c0973c7
ksys/phys: Add a bunch of easy RigidBody functions 2022-01-17 16:58:22 +01:00
Léo Lam 2a8dc8ad25
ksys/phys: Add two RigidBody init functions (and prerequisites) 2022-01-16 15:50:56 +01:00
Léo Lam a15790e624
Havok: Add hkVector4f::load 2022-01-16 15:41:30 +01:00
Léo Lam 88f3c8c49a
Havok: Add hkpFixedRigidMotion 2022-01-16 15:16:55 +01:00
Léo Lam c5b5954f92
Havok: Add a convenience function to get a zero hkVector4f 2022-01-16 13:17:35 +01:00
Léo Lam b7b9da8d92
Havok: Fix missing parenthesis in comment 2022-01-16 02:36:36 +01:00
Léo Lam 91dbd90f85
Havok: Add quaternion multiplication 2022-01-16 02:31:31 +01:00
Léo Lam afabdf7132
Havok: Fix matching issue in hkVector4f::set
Annoyingly, v = {x, y, z, w} and vcombine_f32({x, y}, {z, w} lead to
different codegen. It is unclear why Havok decided to split the load
in two parts.
2022-01-16 02:31:31 +01:00
Léo Lam 9ee731c40c
Havok: Fix hkVector4f::dot after hkSimdFloat32 storage type change 2022-01-16 02:03:05 +01:00
Léo Lam 93f6b2d2ea
Havok: Implement common operations for hkSimdFloat32 2022-01-16 02:03:05 +01:00
Léo Lam a40ef6c860
Havok: Simplify hkSimdFloat32 by always using a vector type 2022-01-16 02:03:05 +01:00
Léo Lam 5c55811abd
Havok: Use a typedef for hkSimdFloat32 storage type 2022-01-16 02:03:05 +01:00
Léo Lam cee7b169af
ksys/phys: Finish RigidBodyMotion 2022-01-15 19:57:59 +01:00
Léo Lam 19888cc607
Havok: Add hkpSphereMotion 2022-01-15 18:37:36 +01:00