Léo Lam
6519cce927
ksys/phys: Start merging physShapeParam with RigidBody/Shape
...
Turns out we already have a bunch of ShapeParam classes in
physShapeParam and parts of RigidBody/Shape are just
duplicates -- whoops.
ShapeParam is renamed to ShapeParamObj to avoid any confusion
with the (.*)ShapeParam classes.
2022-01-30 17:07:34 +01:00
Léo Lam
6263107301
ksys/phys: Start adding RigidBodyFromShape
2022-01-30 16:45:16 +01:00
Léo Lam
60e2b1664f
ksys/phys: Rename Shape/Body classes to avoid confusion
...
What we currently call BoxBody, CapsuleBody, etc. is actually
BoxShape, CapsuleShape, etc. (those classes encapsulate Havok shapes)
So this commit renames Body -> Shape and Shape -> ShapeParam.
2022-01-30 02:20:12 +01:00
Léo Lam
d9eeeb6ecc
ksys/phys: Add RigidBodySet
2022-01-30 00:17:02 +01:00
Léo Lam
70d6ec2ae7
Sync function list with IDB
2022-01-30 00:04:36 +01:00
Brian Savage
3bb33875b3
More PlacementMap functions
2022-01-29 17:37:42 -05:00
Brian Savage
7a3c0b261a
Add initial PlacementMap functions
2022-01-29 07:51:03 -05:00
Léo Lam
61201ca54b
ksys/phys: Rename RigidBody/UserTag broadphase border callbacks
2022-01-29 12:48:38 +01:00
Léo Lam
10d3f129b0
ksys/phys: Add RigidBody velocity calc and warping functions
2022-01-29 01:30:34 +01:00
Léo Lam
e1f3e551cb
ksys/phys: Add more RigidBody functions
2022-01-27 01:54:56 +01:00
Léo Lam
fa7df32d5a
Merge pull request #76 from iTNTPiston/master
...
Add SystemTimers and BaseProcMgr to data_symbols
2022-01-26 10:17:05 +01:00
iTNTPiston
da63d713b2
update data_symbols
2022-01-25 12:47:35 -08:00
Léo Lam
b728917ef4
ksys/phys: Add RigidBody collision filter info functions
...
Including a bunch of BitFields additions so we can get the desired
codegen without sacrificing readability or flexibility.
(The alternative would be building masks and masking manually.)
getCollisionFilterInfo was changed to return a u32 instead of
EntityCollisionFilterInfo because a collision filter info mask
can be either an EntityCollisionFilterInfo or a ReceiverMask.
(Also at some point we'll probably want to rename
EntityCollisionFilterInfo because that is also used for sensor
rigid bodies and not just for entities.)
2022-01-25 00:15:29 +01:00
notyourav
3f793b24d9
Merge pull request #75 from savage13/PlacementMap
...
Add PlacementMap, stubs: PlacementMapMgr and PlacementMapMgrMapArray
2022-01-23 00:33:57 -08:00
Léo Lam
7d669d6efb
Sync function list with IDB
2022-01-22 22:57:38 +01:00
Léo Lam
719c5f02a7
ksys/phys: Add more RigidBody functions (motion, collision mask)
2022-01-22 20:09:57 +01:00
Léo Lam
c36c03c6fb
ksys/phys: Start adding ContactListener
2022-01-21 15:27:55 +01:00
Léo Lam
c292675646
ksys/phys: Rename MemSystem to System
...
It was called MemSystem in the IDB because of a string in
ksys::InitializeApp that referred to MemSystem initialisation as
"Physics Memory System"; however that string actually referred to an
initialisation step for the physics system, not to the name of the
subsystem itself.
2022-01-21 12:43:24 +01:00
Léo Lam
98c69ebaef
ksys/phys: Add one more RigidBody function
2022-01-21 12:20:05 +01:00
Léo Lam
a2a4ae4163
Sync function list with IDB (add a bunch of Havok names)
2022-01-20 23:53:23 +01:00
Léo Lam
f0d4f79d75
Havok: Add hkpWorld
2022-01-20 21:40:12 +01:00
Brian Savage
7d97bb6f40
Moved functions to correct places/files, formatting
2022-01-19 19:21:05 -05:00
Brian Savage
d61a13e4bd
Add PlacementMap, stubs: PlacementMapMgr and PlacementMapMgrMapArray
2022-01-18 18:52:13 -05:00
Léo Lam
52e2111ff3
ksys/phys: Add even more RigidBody functions
2022-01-19 00:33:49 +01:00
Léo Lam
c343c3d9e3
ksys/phys: Mark RigidBody::m9 as pure virtual
2022-01-18 20:24:10 +01:00
Léo Lam
98aeceed40
ksys/phys: Add more RigidBody functions
...
And fix a bunch of hkVector4f / hkSimdFloat32 interop matching issues.
2022-01-18 19:04:27 +01:00
Léo Lam
7d8f0ed308
Sync function list with IDB
2022-01-18 00:32:55 +01:00
Léo Lam
87bca00e68
ksys/phys: Add more RigidBody functions and Havok utils
2022-01-17 22:29:21 +01:00
Léo Lam
adad4553d6
ksys/phys: Add more RigidBody functions
2022-01-17 19:27:49 +01:00
Léo Lam
a2cba75b19
ksys/phys: Rename MotionAccessor classes to reflect entity/sensor split
2022-01-17 17:16:43 +01:00
Léo Lam
8dd5608b79
ksys/phys: Rename RigidBody "isMassScaling" mode to "isSensor"
...
That also explains the comparison against 1 (ContactLayerType::Sensor)
in the constructor.
2022-01-17 17:02:11 +01:00
Léo Lam
392c0973c7
ksys/phys: Add a bunch of easy RigidBody functions
2022-01-17 16:58:22 +01:00
Léo Lam
ab71075dee
Sync function list with IDB
2022-01-17 01:53:44 +01:00
Léo Lam
05abdf7e77
ksys/phys: Add easy RigidBodyRequestMgr functions
2022-01-17 01:52:21 +01:00
Léo Lam
4eb07ca88c
ksys/phys: Start adding RigidBodyRequestMgr
2022-01-16 23:29:48 +01:00
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
cee7b169af
ksys/phys: Finish RigidBodyMotion
2022-01-15 19:57:59 +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
988c00c545
Sync function list with IDB
2022-01-14 13:10:12 +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
11b7f1aab1
Sync function list with IDB
2022-01-13 18:03:29 +01:00
Léo Lam
2b83356056
ksys/phys: Start adding RigidBodyMotionProxy
2022-01-13 16:32:27 +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
d37e60d7e8
ksys/phys: Rename two MotionAccessor functions for clarity
2022-01-12 22:59:51 +01:00
Léo Lam
a8f887fdf2
Sync function list with IDB
2022-01-11 23:44:07 +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
625f958622
Fix name conflicts in the function CSV
2022-01-11 01:16:41 +01:00
Léo Lam
0dd0c3e87f
Add placeholder function names from the IDB
2022-01-11 01:15:52 +01:00
Léo Lam
67ad8ea260
Add missing functions to the function CSV
...
Those had previously been missed.
2022-01-11 01:05:06 +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
d7a6dbcf8a
ksys/phys: Fix RigidBody ctor matching issues
2022-01-07 17:15:52 +01:00
Léo Lam
b4bbaf141f
ksys/phys: Add MemSystem::initSystemData
2022-01-07 01:51:13 +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
297c26972a
Mark more Havok reflection functions as library functions
2022-01-06 15:08:06 +01:00
Léo Lam
5069f95927
Mark Havok static constructors as library functions
2022-01-06 12:37:32 +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
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
c716c3eec8
lib: Update sead
2021-12-26 19:40:21 +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
6b3799a354
ksys/phys: Start adding GroupFilter
2021-12-22 15:43:43 +01:00
Léo Lam
38bd3db171
Havok: Add hkpGroupFilter
2021-12-21 22:08:20 +01:00
Léo Lam
3e796ae9c7
Havok: Add hkpCollisionFilter
2021-12-21 22:08:20 +01:00
Léo Lam
946edae13d
lib: Update nn headers
2021-12-21 22:08:20 +01: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
03993b26fe
Havok: Add MemoryRouter, TLS and base object classes
2021-12-18 12:28:20 +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
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
73e2b74045
ksys/eco: Finish Ecosystem
2021-11-23 22:51:11 +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
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