Commit Graph

728 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 a1f9eea300 ksys/phys: Add QueryContactPointInfo 2022-03-06 21:35:36 +01:00
Léo Lam 8a6b47d132 ksys/phys: Add more ContactMgr functions 2022-03-06 16:10:13 +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 d839816081 ksys/phys: Finish ContactListener 2022-03-05 17:16: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 a222e40180 ksys/phys: Add more ContactListener functions and Havok prereqs 2022-03-03 12:29:28 +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 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 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 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
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 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 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
Léo Lam 56826a9bd0 ksys/phys: Implement RigidBodyParam::createRigidBody
Also includes a bunch of fixes to the shape and param classes.
2022-02-13 02:23:47 +01:00
Léo Lam fc8d4b5c68 Fix matching issue in ksys::phys::motionTypeFromText 2022-02-13 01:16:52 +01:00
Léo Lam 0c3ee0dd84 ksys/phys: Finish RigidBodyFromShape 2022-02-12 18:41:27 +01:00
Léo Lam 3ebf3eda62 data: Add some phys:: RTTI functions 2022-02-12 17:27:11 +01:00
Léo Lam 2dc8daf02f ksys/phys: Implement ListShapeRigidBody 2022-02-12 17:04:00 +01:00
Léo Lam bc66305e3d ksys/phys: Add ListShape 2022-02-12 16:43:48 +01:00
Léo Lam cc3d3ad03d ksys/phys: Implement PolytopeRigidBody 2022-02-10 20:28:31 +01:00
Léo Lam 9c1f080884 ksys/phys: Add most of PolytopeShape 2022-02-10 19:32:52 +01:00
Léo Lam a8ba0f7bfe data: Fix two functions being marked as WIP instead of non-matching 2022-02-10 02:03:42 +01:00
Maide dbf6cd5117 LowPrioThreadMgr (#82) 2022-02-09 21:46:46 +01:00
Léo Lam 97f3d2943b Game: Finish HardModeManager 2022-02-09 19:36:26 +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 e9fc23b9e1 data: Fix getCollisionMasks mangled names 2022-02-07 18:26:39 +01:00
Léo Lam 635be7c1e4 ksys/phys: Add RigidBodyFromResource 2022-02-07 17:47:33 +01:00