Commit Graph

773 Commits

Author SHA1 Message Date
Léo Lam 2a8dc8ad25
ksys/phys: Add two RigidBody init functions (and prerequisites) 2022-01-16 15:50:56 +01:00
Léo Lam 2ed36c7dc0
ksys/phys: Add prerequisites for RigidBody (RigidBodyParam fixes)
Seems to have fixed _ZN4ksys4phys11InstanceSet14sub_7100FBB00CEPNS0_9RigidBodyEPNS0_14RigidBodyParamE
2022-01-16 13:00:35 +01:00
Léo Lam 544c33e2eb
ksys/phys: Finish RigidBodyMotionProxy 2022-01-16 02:36:36 +01:00
Léo Lam a5b87ccf97
ksys/phys: Fix #include type for Havok header 2022-01-15 19:59:06 +01:00
Léo Lam cee7b169af
ksys/phys: Finish RigidBodyMotion 2022-01-15 19:57:59 +01:00
Léo Lam c6f0a3cb4c
ksys/phys: Rename flags for clarity in RigidBody 2022-01-15 18:37:35 +01:00
Léo Lam 7fbd3a0e8d
ksys/phys: Remove useless semicolon 2022-01-15 18:15:03 +01:00
Léo Lam b298ec2b28
ksys/phys: Add remaining RigidBodyMotionProxy functions (except one) 2022-01-15 18:13:27 +01:00
Léo Lam ea9cc90f29
ksys/phys: Fix indirect <cstring> include in RigidBodyMotion 2022-01-14 13:14:24 +01:00
Léo Lam 97938cc48e
ksys/phys: Start adding RigidBodyMotion 2022-01-14 13:04:25 +01:00
Léo Lam 359fb2685b
ksys/phys: Rename getMotionInfo to getMotionType for clarity 2022-01-13 19:10:11 +01:00
Léo Lam 5831b9581d
ksys/phys: Make MotionAccessor's getMotion less ambiguous
RigidBodyMotion has its own hkpMotion so we should make it clearer that
getMotion returns the rigid body's own internal motion.
2022-01-13 18:01:23 +01:00
Léo Lam 2b83356056
ksys/phys: Start adding RigidBodyMotionProxy 2022-01-13 16:32:27 +01:00
Léo Lam cd75ca724a
ksys/phys: Rewrite toMtx34 without using intrinsics
Doing the assignments in this specific pattern of assignments is
sufficient to get the desired (bad) codegen when combined with
hkVector4f's operator() (which was added recently).
2022-01-13 12:53:28 +01:00
Léo Lam 278b088bd1
ksys/phys: Rename RigidBodyParamView to RigidBodyInstanceParam for clarity 2022-01-13 12:14:05 +01:00
Léo Lam bcbc8bd2ea
ksys/phys: Fix a nasty typo in toHkQuat 2022-01-13 02:47:07 +01:00
Léo Lam d37e60d7e8
ksys/phys: Rename two MotionAccessor functions for clarity 2022-01-12 22:59:51 +01:00
Léo Lam 88921dbd7a
ksys/phys: Add 3 easy RigidBody functions and fix some types 2022-01-11 22:13:55 +01:00
Léo Lam 51c3397965
ksys/phys: Rename RigidBody::Flag1 to RigidBody::Flag
There's no flag enum named "Flag"
2022-01-11 17:28:25 +01:00
Léo Lam 6ef3bb9327
ksys/phys: Add RigidBodyAccessor 2022-01-10 01:38:20 +01:00
Léo Lam 5a958d10aa
Havok: Add more hkVector4f functions 2022-01-09 11:58:59 +01:00
Léo Lam 17a5192490
ksys/phys: Remove obsolete comment 2022-01-07 19:59:33 +01:00
Léo Lam 16ae321058
Havok: Add hkpResponseModifier 2022-01-07 18:57:06 +01:00
Léo Lam d7a6dbcf8a
ksys/phys: Fix RigidBody ctor matching issues 2022-01-07 17:15:52 +01:00
Léo Lam 15741ce3ae
Havok: Add stubs for hkpRigidBody parent classes 2022-01-07 17:09:00 +01:00
Léo Lam b4bbaf141f
ksys/phys: Add MemSystem::initSystemData 2022-01-07 01:51:13 +01:00
Léo Lam 53c5d03420
ksys/phys: Move RagdollControllerKeyList to Ragdoll folder 2022-01-07 01:33:26 +01:00
Léo Lam 5ffa9564ca
ksys/phys: Add TeraMeshRigidBodyResource 2022-01-07 01:33:26 +01:00
Léo Lam 8a9fb5d10c
ksys/phys: Add RagdollResource 2022-01-07 00:31:20 +01:00
Léo Lam 9a3016d4a9
ksys/phys: Add RigidBodyResource 2022-01-07 00:26:56 +01:00
Léo Lam 293b231fd8
ksys/phys: Add ClothResource stub 2022-01-07 00:25:38 +01:00
Léo Lam 423eb84362
ksys/phys: Implement more StaticCompound functions
The other functions require RE'ing BodyGroup, which in turn requires
RigidBody stuff
2022-01-06 23:51:07 +01:00
Léo Lam 2d1ffdf6d2
ksys/phys: Add StaticCompoundInfo 2022-01-06 12:13:25 +01:00
Léo Lam 2359ce6fb4
ksys/phys: Start adding StaticCompound (very incomplete) 2022-01-05 23:57:04 +01:00
Léo Lam 3f33ba5d59
ksys/phys: Implement ContactMgr contact point pool functions 2022-01-04 19:20:41 +01:00
Léo Lam 8cf2def97c
ksys/phys: Rename RigidContactPointsEx::Point to ContactPoint
It's not just used in RigidContactPointsEx::Point.
2022-01-04 18:39:46 +01:00
Léo Lam 6511ecd711
ksys/phys: Match CapsuleShape::init 2022-01-04 02:19:10 +01:00
Léo Lam 7791352833
ksys/phys: Match CapsuleBody::setRadius 2022-01-04 00:25:37 +01:00
Léo Lam 64cc3c5856
ksys/phys: Match CapsuleBody::getVolume 2022-01-04 00:18:40 +01:00
Léo Lam eb16cbaf55
ksys/phys: Add MaterialMask 2022-01-03 23:53:40 +01:00
Brian Savage 0542fa53b5
Add ksysDebugInput Singleton 2021-12-31 19:16:24 +01:00
Léo Lam 32531ba067
ksys/phys: Add RigidContactPoints allocation functions 2021-12-29 18:15:50 +01:00
Léo Lam 8ba8563775
ksys/phys: Add RigidContactPointsEx iterator 2021-12-29 17:54:43 +01:00
Léo Lam b513fbbf03
ksys/phys: Start adding RigidContactPoints
Super messy stuff. I have no idea what it's used for
2021-12-29 02:19:32 +01:00
Léo Lam e187c1ecfd
ksys/phys: Fix parameter names for ContactMgr
forgot to rename the parameters in SystemData
2021-12-27 13:03:43 +01:00
Léo Lam 536a00138e
ksys/phys: Start adding ContactMgr
Also renames ContactInfoTable to ContactMgr because the contact info
table is a separate data structure that's managed by ContactMgr;
the manager itself handles more than just the table data
2021-12-27 13:00:03 +01:00
Léo Lam 90f83901ad
ksys/phys: Implement the easier parts of EntityGroupFilter 2021-12-26 13:06:50 +01:00
Léo Lam e9024ed406
ksys/phys: Move orGroundHitTypeMask to the correct TU 2021-12-24 23:05:09 +01:00
Léo Lam a816125247
ksys/phys: Finish SystemData and start implementing GroupFilter 2021-12-24 21:48:41 +01:00
Léo Lam 19f019b0ff
ksys: Move physInstanceSet to Physics/System
It's right after EntityGroupFilter and before MaterialTable
2021-12-22 16:35:33 +01:00
Léo Lam 9c3687584b
Havok: Add various classes that are used by hkpCollisionFilter 2021-12-22 16:18:47 +01:00
Léo Lam 6b3799a354
ksys/phys: Start adding GroupFilter 2021-12-22 15:43:43 +01:00
ThePixelGamer 702b0c0dd3 ksys/res: utilize the negate operator 2021-12-19 12:52:05 -06:00
Léo Lam 9f6d37bb3c
Havok: Add hkVector4f::store
Fixes a matching issue in physCapsuleShape
2021-12-19 13:07:35 +01:00
Léo Lam 17fcbf8c43
Havok: Add hkpWorldCinfo 2021-12-19 12:03:55 +01:00
Léo Lam fb8f0c636e
ksys: Change isSensorLayer to getContactLayerType
The == 0 and == 1 comparisons suggest that the function actually
returns a ContactLayerType rather than a boolean
2021-12-15 11:21:56 +01:00
theo3 87e8bafae2 havok stubs and ksys::phys work 2021-12-14 00:08:16 -08:00
Léo Lam 6b88a1cebe
ksys/eco: Clarify how beco offset calculation works 2021-11-24 02:36:05 +01:00
Léo Lam 0f3cb6e1ec
ksys: Add act::getRandomAreaItem 2021-11-24 02:12:21 +01:00
Léo Lam c0a79e67ee
ksys: Merge EcoUtil into ActorUtil
The "is in Satori mountain area" function actually appears to be part
of ActorUtil (which contains a bunch of actor-related helper functions)
2021-11-24 02:00:49 +01:00
Léo Lam 022f029db1
ksys/eco: Match Ecosystem::getMapArea 2021-11-24 01:30:23 +01:00
Léo Lam 8ac282db2a
ksys/eco: Clean up casts in Ecosystem::getMapArea 2021-11-23 22:57:01 +01:00
Léo Lam 73e2b74045
ksys/eco: Finish Ecosystem 2021-11-23 22:51:11 +01:00
Léo Lam b63c16c55f
ksys/util: Fix C++17 compliance in FixedString
Lambda expressions cannot appear in a template argument pre-C++20.
2021-11-01 14:57:38 +01:00
Léo Lam d10dd65dcd
ksys/phys: Add some prerequisites for ContactInfoTable 2021-10-30 16:17:39 +02:00
Léo Lam 70aaa429fe
ksys/phys: Start adding SystemData
- SystemData (WIP)
- MaterialTable (should be complete)
2021-10-30 12:17:26 +02:00
Léo Lam 5580b49345
ksys/act: Add more Actor members 2021-10-17 23:32:24 +02:00
Léo Lam 8056fb3881
ksys: Forward declare Actor where possible
Reduces build times when Actor.h is modified.
2021-10-17 00:09:03 +02:00
Léo Lam 28515aceb5
ksys/act/AI: Take const ref for messages 2021-10-16 20:20:58 +02:00
Léo Lam 9b4af6eb00
ksys/act/AI: Rename AI handleMessage2_ and fix parameter type 2021-10-16 20:20:55 +02:00
Léo Lam 4b6f513606
ksys: Start adding PhysicsConstraints 2021-10-16 16:40:15 +02:00
Léo Lam 89939a2300
ksys: Start adding PhysicsUserTag 2021-10-16 16:15:18 +02:00
ThePixelGamer 20df9e7c7d Update misc files to match sead math changes 2021-10-10 05:21:18 -05:00
ThePixelGamer 4baa6d7ee8 Implement LazyTraverseList 2021-09-14 15:34:52 -05:00
ThePixelGamer 766c454215 Implement MessageCapture 2021-09-06 11:28:58 -05:00
Léo Lam 1954850a20
Merge pull request #58 from iTNTPiston/master
Implemented DebugFinder
2021-08-23 22:18:19 +02:00
iTNTPiston e3a6211fc2 Add listing for DebugFinder dtors 2021-08-23 12:30:48 -07:00
iTNTPiston 66aa5f139b add trailing new line and make DebugFinder destructor not virtual 2021-08-23 12:10:41 -07:00
Léo Lam 737ea79669
ksys/res: Implement more ResourceMgrTask functions 2021-08-20 17:29:59 +02:00
AlexApps99 dfeb87fd3d
ksys: Add StarterPackMgr 2021-08-20 23:27:01 +12:00
iTNTPiston b502476d96 fix style again 2021-08-09 16:46:25 -07:00
iTNTPiston 341f9166d0 fix style 2021-08-09 16:44:26 -07:00
iTNTPiston 488f2c3e71 Implemented DebugFinder 2021-08-09 16:40:04 -07:00
Léo Lam 802be64d8e
ksys/act: Start adding Awareness
Incomplete.
2021-08-07 14:44:27 +02:00
MonsterDruide1 6982047134 ksys: Add SystemTimers 2021-08-06 15:14:57 +02:00
Léo Lam 40530f01ad
ksys/act: Fix BaseProcJobHandlerT actor pointer type in ctor 2021-08-05 00:58:56 +02:00
Léo Lam af2207632e
ksys/act: Implement BaseProcJobHandlerT 2021-08-05 00:44:41 +02:00
MonsterDruide1 b3d32fb766 ksys/snd: Add MusicInfo and subclasses 2021-08-04 22:12:42 +02:00
Léo Lam c64fb93fbd ksys/phys: Fix matching issues in SupportBone 2021-08-02 01:11:24 +02:00
MonsterDruide1 90c34d80fe ksys/phys: Add SupportBoneResource
[committer's note: rebased]
2021-08-02 01:11:23 +02:00
AlexApps99 2d4a192394
Fix warning 2021-07-31 22:50:29 +12:00
AlexApps99 42807160cf
Add #ifdef declarations for NON_MATCHING code 2021-07-26 23:05:19 +12:00
Léo Lam ec59fe675b
ksys/snd: Fix matching issues in MusicDefinition
The wrong overload of agl::utl::Parameter::init was being used.
The one that only takes a name will use the name string for the label
as well; this is not what the original function does, as the label
for all the parameters is set to "" (the empty string).
2021-07-13 14:32:03 +02:00
MonsterDruide1 1322b57b55 ksys/snd: Add MusicDefinition 2021-07-13 13:30:51 +02:00
MonsterDruide1 3be9a6927d ksys/phys: Add RagdollControllerKeyList-Resource 2021-07-09 13:13:52 +02:00
MonsterDruide1 0750a987ac ksys/act: Add InfoData::InvalidLifeConditions 2021-07-08 19:28:00 +02:00
Léo Lam 48e70b92bf
ksys/map: Fix more matching or equivalency issues 2021-07-07 14:34:02 +02:00
Léo Lam 1b6c549a38
ksys/map: Fix matching issues 2021-07-07 14:04:39 +02:00
Léo Lam 4b6b81b190
Fix -Wdelete-incomplete warnings 2021-07-07 13:56:35 +02:00
Léo Lam f726f3b68d
ksys/act: Add Actor getDummyBaseProcLink() 2021-07-07 13:56:28 +02:00