Commit Graph

1333 Commits

Author SHA1 Message Date
Léo Lam 6830bcbb64 ksys/phys: Add SphereBasedClosestPointQuery 2022-03-08 00:11:52 +01:00
Léo Lam 62959cc554 ksys/phys: Start adding ClosestPointQuery and iterator stuff 2022-03-07 12:44:38 +01:00
Léo Lam 6229e5d41a ksys/phys: Move Constraint stuff to a separate folder 2022-03-06 22:38:43 +01:00
Léo Lam a1f9eea300 ksys/phys: Add QueryContactPointInfo 2022-03-06 21:35:36 +01:00
Léo Lam f1ac835664 lib: Update sead 2022-03-06 19:29:05 +01:00
Léo Lam 8a6b47d132 ksys/phys: Add more ContactMgr functions 2022-03-06 16:10:13 +01:00
Léo Lam 683108b75c ksys/phys: Add CollisionInfoBase::enableLayer/disableLayer
The pattern seems to show up very often in CollisionInfoBase users
2022-03-06 12:41:41 +01:00
Léo Lam 5dde8ced89 ksys/phys: Add ContactPointInfo iterator
It's mostly the same thing as LayerContactPointInfo::Iterator.
With some functions inexplicably marked as virtual.
2022-03-06 01:37:57 +01:00
Léo Lam 631a0ab388 ksys/phys: Finish LayerContactPointInfo
Clean up the iterator stuff and fix some inaccuracies.
2022-03-06 00:30:05 +01:00
Léo Lam ba2d81b7b8 ksys/phys: Implement ContactMgr functions used by ContactListener 2022-03-05 19:34:01 +01:00
Léo Lam 88a0a9eb69 Use sead::OffsetList::robustRange() when possible to simplify iteration 2022-03-05 19:13:06 +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 f802ee16c9 ksys: Add CoreInfo to avoid hardcoding number of cores everywhere 2022-03-04 15:29:32 +01:00
Léo Lam eca99d22f2 ksys: Move CollisionMasks out of RigidBody so it can be forward declared 2022-03-03 15:59:49 +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 26f4aea77c ksys/phys: Fix accuracy issue for storeToVec3
Allows us to get rid of a bunch of local variables that only existed
to force the entire vector to be loaded.
2022-03-03 11:52:35 +01:00
Léo Lam b2a66ca858 ksys/phys: ContactPointInfoEx -> ContactLayerContactPointInfo
Turns out it's the equivalent to ContactLayerCollisionInfo.
2022-03-02 01:25:11 +01:00
Léo Lam 220cb53468 ksys/phys: Add ContactLayerCollisionInfo 2022-03-01 20:10:56 +01:00
Léo Lam 35cc8dd9ee ksys/phys: Add RigidBody::setCollisionInfo 2022-03-01 19:50:47 +01:00
Léo Lam 6077a63ea6 ksys/phys: Unify ContactPointInfo/CollisionInfo with InstanceSet 2022-03-01 19:31:44 +01:00
Léo Lam 11dafc6ac3 ksys/phys: Add CollisionInfo 2022-03-01 19:28:11 +01:00
Léo Lam 1ee012858c ksys: Rename RigidContactPoints to match param files 2022-03-01 19:12:29 +01:00
Léo Lam 18d0c53293 ksys/phys: Add some ContactListener prerequisites 2022-03-01 19:11:54 +01:00
Léo Lam 7f52270cdd ksys/phys: SensorCollisionMask layer2 -> ignored_layer 2022-03-01 13:24:18 +01:00
Léo Lam f852073fd4 ksys/phys: Finish SensorGroupFilter 2022-03-01 13:15:51 +01:00
Léo Lam 7fab958e72 ksys/phys: Rename collision filter info structs for more clarity
And consistency.
2022-02-28 22:09:53 +01:00
Léo Lam c18d9dc4b5 ksys: Add constants NumRegular{Entity,Sensor}Layers to reduce magic numbers 2022-02-28 21:31:30 +01:00
Léo Lam e219eccf0d ksys/phys: Start implementing SensorGroupFilter 2022-02-28 20:58:04 +01:00
Léo Lam c32557b793 ksys/phys: Add more EntityGroupFilter functions 2022-02-28 17:29:49 +01:00
Léo Lam b3b97a93aa UI/PauseMenuDataMgr: Use getItems() instead of mItemLists.list1 2022-02-27 23:34:55 +01:00
Léo Lam 63bf3d2fa4 Match PauseMenuDataMgr::removeGrabbedItem 2022-02-27 23:32:51 +01:00
Léo Lam a1fd80bd1c Rename PauseMenuDataMgr addGrabbedItem to removeGrabbedItem
The previous name was completely wrong, whoops.
2022-02-27 22:50:55 +01:00
Léo Lam df36d65665 Revert "Add #ifdef declarations for NON_MATCHING code"
This reverts commit 42807160cf.

It makes searching for NON_MATCHING comment descriptions much less
convenient in most text editors or IDEs, and we want the function
CSV to be the single source of truth for function statuses. Having
a function marked as matching but not built because of a stray #ifdef
would be bad.
2022-02-27 12:50:52 +01:00
savage13 a564186002 Add PauseMenuDataMgr::grabbedItemStuff() (#88) 2022-02-26 22:42:09 +01:00
savage13 17750b5225 Add PauseMenuDataMgr::x_28 (#87) 2022-02-26 16:29:50 +01:00
savage13 9d35c385f9 Match two small functions in PauseMenuDataMgr (#86) 2022-02-26 15:01:44 +01:00
savage13 c804527d7a PlacementMap: Add x_0, x_4(); change u16 mStaticCompoundId to s16 mStaticCompundActorId (#85) 2022-02-20 23:50:28 +01:00
savage13 4e21ee7613 getDragonItemDropPosition (#84)
getDragonItemDropPosition - NON_MATCHING fadd arguments mismatch
2022-02-19 13:32:13 +01:00
Léo Lam bf611b1856 Merge pull request #83 from h1k421/feature/agl-init-func-map
Add all missing names for agl::Initialize
2022-02-13 23:10:14 +01:00
Hikari 9e92377b90 Add all missing names for agl::Initialize
As title say, very simple.
2022-02-13 22:04:50 +00:00
Léo Lam 35dd6d9684 lib: Update nnSdk and agl headers 2022-02-13 21:58:32 +01:00
Léo Lam 37f19dddac Mark more Havok functions as library functions 2022-02-13 21:21:18 +01:00
Léo Lam a6268d3815 ksys/phys: Add CharacterControllerParam shape creation 2022-02-13 19:43:56 +01:00
Léo Lam dfcfbbe4a4 ksys/phys: Move common headers (Defines, MaterialMask) out of System/ 2022-02-13 19:08:08 +01:00
Léo Lam 3512b78627 ksys/phys: Finish RigidBodyParam (add createEntityShapeBody) 2022-02-13 18:59:03 +01:00
Léo Lam db72086c68 ksys/phys: Finish RigidBodyFromShape (add factory functions) 2022-02-13 18:44:48 +01:00
Léo Lam 6727376291 ksys/phys: Merge RigidBodyFactory into RigidBodyFromShape
RigidBodyFactory is right between RigidBodyFromResource and
RigidBodyFromShape functions, and some Factory functions are known
to be in the same TU as RigidBodyFromShape functions.

Some factory functions also use FromShape non-static member functions.
2022-02-13 12:47:12 +01:00