Commit Graph

1575 Commits

Author SHA1 Message Date
Léo Lam 0127ac2064
gsys: Add more Model fields 2022-04-07 01:57:21 +02:00
Léo Lam c7a0797fe4
gsys: Add ModelUnit virtual functions 2022-04-07 01:40:54 +02:00
Léo Lam 55f8bde652
gsys: Add ModelSceneConfig 2022-04-06 11:52:54 +02:00
Léo Lam 8e445021ab
Update tools 2022-04-06 11:39:50 +02:00
Léo Lam d7efbae7c2
Build with UKING_V150 define
So that we can account for version differences in libraries.
2022-04-03 15:45:05 +02:00
Léo Lam 15db815f86
lib: Update agl 2022-04-02 13:00:50 +02:00
Léo Lam 68de65a9df
lib: Update sead 2022-04-02 12:52:46 +02:00
Léo Lam 76b095e8fa
Update function list 2022-04-01 12:49:12 +02:00
Léo Lam 56b00c33d2
Switch back to submodules
Subrepos are too fragile and break if there are changes in the upstream
repo and in the main repo, or after doing a rebase/merge
2022-04-01 12:11:56 +02:00
Léo Lam a5edc2d60b
ksys/phys: Start adding ModelBoneAccessor
Needs gsys::Model stuff before I can continue
2022-04-01 01:37:25 +02:00
Léo Lam 9d02ca33d8
gsys: Add Model, ModelAccessKey and ModelUnit stubs 2022-03-31 23:17:34 +02:00
Léo Lam 6ce04bccaa
g3d: Add ICalculateWorldCallback 2022-03-31 12:47:40 +02:00
Léo Lam b1b97f509d
ksys/phys: Add BoneAccessor 2022-03-29 20:00:44 +02:00
Léo Lam 288b3421a0
Havok: Fix HK_FORCE_INLINE to actually force inlining
...using the always_inline attribute
2022-03-29 19:14:10 +02:00
Léo Lam 5d6f2f0569
Havok: Fix bugged vnegq_f32 in hkVector4f::setNeg<3> 2022-03-29 17:45:12 +02:00
Léo Lam 0a19a4b057
Havok: Fix hkVector4f::setReciprocal 2022-03-29 17:45:12 +02:00
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 f85ac9793d
data: Remove false positives from the function list 2022-03-27 16:45:45 +02:00
Léo Lam 8c01d32ac4
Havok: Add ragdoll stuff 2022-03-27 15:06:41 +02:00
Léo Lam 5df0fb2a6d
ksys/phys: Add more InstanceSet member variables 2022-03-26 23:25:06 +01:00
Léo Lam f1398cd0b1
ksys/phys: Merge duplicate definitions of RagdollController 2022-03-26 18:44:58 +01:00
Léo Lam 301ad689ab
ksys/phys: Add RagdollRigidBody stub
Needed for RagdollController.
2022-03-26 18:41:44 +01:00
Léo Lam 7e9d9927e1
ksys/phys: Implement several easy RigidBodyRequestMgr functions 2022-03-26 17:56:02 +01:00
Léo Lam b3c9e97e00
ksys/phys: Add RigidBodyRequestMgr::calc1 2022-03-26 17:42:31 +01:00
Léo Lam 783e6a510f
ksys/phys: Add RagdollControllerMgr
Also contains readability/accuracy fixes to LockFreeQueue.
2022-03-26 17:42:24 +01:00
Léo Lam 9f8530ec90
ksys/phys: Finish StaticCompoundMgr 2022-03-25 23:22:12 +01:00
Léo Lam f3b3653b0f
ksys/map: Fix misleading names for wrappers around StaticCompound::setInstanceEnabled 2022-03-25 22:24:33 +01:00
Léo Lam a63b816ffc
ksys/phys: Fix misleading name for StaticCompound::disableCollision 2022-03-25 22:20:57 +01:00
Léo Lam 82a5319200
ksys/phys: Finish StaticCompound 2022-03-25 22:11:36 +01:00
Léo Lam 4b2c55b82b
Use sead::Buffer::fill where applicable
Equivalent, shorter, more readable, and matching!
2022-03-25 21:34:03 +01: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 5e6d930816
ksys/phys: Add ScRigidBodyGroup::Unk1 and one missed function 2022-03-25 00:33:03 +01:00
Léo Lam 7136dc0115
ksys/phys: Rename ScRigidBodyGroup functions/members for clarity 2022-03-25 00:18:49 +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 68cf6ed385
ksys/phys: Finish StaticCompoundRigidBodyGroup 2022-03-24 22:24:58 +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 0b636cdd02
ksys/phys: Rename RigidBody flag 8 (IsAddedToWorld)
Forgot to do this in a previous commit.
2022-03-23 10:06:09 +01:00
Léo Lam cfb1f1e074
ksys/phys: Add more StaticCompound functions, part 2 2022-03-23 10:04:43 +01:00
Léo Lam cc6527bb26
ksys/phys: Simplify calls to RigidBody::makeScopedLock
Add another overload which automatically determines whether the rigid
body world should also be locked.
2022-03-23 01:19:00 +01:00
Léo Lam e10e8dcac7
data: Update function list 2022-03-23 00:57:43 +01:00
Léo Lam a86fb2a9ed
ksys/phys: Rename BodyGroup -> StaticCompoundRigidBodyGroup
Makes it obvious that it is related to StaticCompound stuff

Also fixes the relative ordering (BodyGroup is located after Mgr code).
2022-03-23 00:52:23 +01:00
Léo Lam f3308d7bee
ksys/phys: Rename some RigidBody flags (add/remove from world) 2022-03-22 23:14:19 +01:00
Léo Lam c97cf995ef
ksys/phys: Add more StaticCompound stuff, part 1 2022-03-22 19:30:14 +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 0197ca3aba
Fix GitHub language detection for header files
Force GitHub to treat .h files as C++ because header files in this repo
are almost always C++, not C. Currently some Havok headers are being
misdetected as C code.
2022-03-21 21:54:14 +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