Commit Graph

1415 Commits

Author SHA1 Message Date
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
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 4a1bb88bd5
ksys/phys: Declare factory functions for SphereShape/SphereRigidBody 2022-02-12 10:51:02 +01:00
Léo Lam cc3d3ad03d
ksys/phys: Implement PolytopeRigidBody 2022-02-10 20:28:31 +01:00
Léo Lam fce2c2dc10
ksys/phys: Implement parts of PolytopeShape::updateHavokShape 2022-02-10 20:14:02 +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
Léo Lam ce88177589
Havok: Add hkpConvexVerticesShape stub 2022-02-09 22:45:00 +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 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 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