Léo Lam
682897091a
ksys/phys: Rename some variables that were missed in 60e2b166
2022-01-30 02:21:42 +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
a1a283acf7
ksys/phys: Add more InstanceSet members
2022-01-30 00:55:12 +01:00
Léo Lam
d9eeeb6ecc
ksys/phys: Add RigidBodySet
2022-01-30 00:17:02 +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
532e83a2fa
ksys/phys: Declare all remaining RigidBody functions
2022-01-29 13:01:57 +01: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
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
Léo Lam
4531c033a3
ksys/phys: Rename SystemGroupHandler mFilterIndex -> mLayerType
...
It is actually a ContactLayerType -- there's a comparison against
the contact layer type in RigidBody.
2022-01-24 12:38:05 +01:00
Léo Lam
a33ebd2130
ksys/phys: Introduce {First,Last}{Entity,Sensor} constants to improve clarity
2022-01-23 17:00:44 +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
dcd1a856bd
ksys/act: Document some BaseProcMgr iteration functions
2022-01-22 21:06:10 +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
Brian Savage
d11a43df25
Added missing include for sead::Buffer
2022-01-20 11:57:06 -05:00
Brian Savage
c028190362
Use sead::Buffer<PlacementMap>
2022-01-20 10:17:58 -05:00
Brian Savage
1182f2fd75
Further fixes to variables types
2022-01-20 09:37:30 -05:00
Brian Savage
7d97bb6f40
Moved functions to correct places/files, formatting
2022-01-19 19:21:05 -05:00
Léo Lam
a291d84b2b
Havok: Move hkpConstraintInstance to the correct folder
2022-01-20 01:11:54 +01:00
Léo Lam
178108d42c
ksys/phys: Update some RigidBody flag names for clarity
2022-01-19 15:23:01 +01:00
Brian Savage
d61a13e4bd
Add PlacementMap, stubs: PlacementMapMgr and PlacementMapMgrMapArray
2022-01-18 18:52:13 -05:00
Léo Lam
c20142ab7b
ksys/phys: Rename flag 0x80 to RigidBody::Flag::HighQualityCollidable
2022-01-19 00:37:32 +01: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
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
ddef936b26
ksys/phys: Add RigidBody::isEntity to make certain checks clearer
...
The pattern we want to use is:
```
if (isEntity())
do entity stuff (e.g. get entity motion accessor)
```
or
```
if (!isEntity())
return;
do entity stuff
```
That's clearer than
```
if (isSensor())
return;
do entity stuff
```
because the fact that !isSensor() is equivalent to isEntity() is not
always immediately clear.
2022-01-17 17:22:27 +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
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
71fda30853
ksys/util: Add LockFreeQueue
2022-01-16 23:21:52 +01:00
Léo Lam
cba2a5b8b0
ksys: Declutter Utils by creating new Utils/Container folder
2022-01-16 22:24:00 +01:00
Léo Lam
99b913f86d
ksys/phys: Move RigidBodyRequestMgr to its own header
2022-01-16 15:55:42 +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
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
Léo Lam
a638e3dba1
Merge pull request #40 from notyourav/place_mgr
...
ksys::map placement classes
2021-07-07 13:50:12 +02:00
theo3
b74df64276
move ForestRenderer and ClusteredRenderer
2021-07-06 15:43:57 -07:00
Léo Lam
c808135ef1
query: Fix matching issue in CheckRupee
2021-07-06 00:04:02 +02:00
theo3
60dd80779a
match some ai::Query
2021-07-01 21:05:10 -07:00
theo3
4cba2eb093
ksys::map placement classes
2021-07-01 21:02:46 -07:00
theo3
0eef5b3933
shootingStarMgr
2021-06-28 12:04:10 -07:00
Léo Lam
98f3c3d971
lib: Update sead
2021-06-28 18:50:47 +02:00
Léo Lam
23a84ada5a
Merge pull request #38 from notyourav/mem_prof
...
MemoryProfiler done
2021-06-26 17:10:29 +02:00
theo3
d12508cfce
AutoDim decompiled
2021-06-25 20:29:11 -07:00
theo3
e675602250
MemoryProfiler done
2021-06-25 20:26:31 -07:00
Léo Lam
99356080db
Merge pull request #31 from notyourav/qst2
...
ksys::qst begin
2021-06-23 12:08:16 +02:00
theo3
972445e44c
ksys::qst begin
2021-06-22 22:43:36 -07:00
MonsterDruide1
8da7d7cf25
ksys/snd: Add SoundResource
2021-06-23 00:34:02 +02:00
MonsterDruide1
cadf1688ed
ksys/res: Add ModelResourceDivide
2021-06-22 21:26:35 +02:00
Léo Lam
7d6938bc27
ksys/act: FIx Query loadBool, loadInt, loadFloat
2021-06-21 18:33:10 +02:00
Léo Lam
4f2f4ede4f
ksys/act: Finish Query
2021-06-21 17:56:14 +02:00
MonsterDruide1
cd6716c3ed
uking/query: Add queryCheckCurseRRetryEverOnce
2021-06-21 17:50:44 +02:00
MonsterDruide1
adcad916b7
uking/action: Add actionCurseRRematchCount
2021-06-21 17:50:00 +02:00
MonsterDruide1
0e4c71bfd8
Decompiled aoc3/ChampionBalladManager
...
Change getBlightRematchCount to s8
Fixing review messages
Decompiled aoc3/ChampionBalladManager
2021-06-21 14:20:32 +02:00
Léo Lam
3c01b50afc
ksys/chm: Add SystemConfig
2021-06-20 17:16:47 +02:00
Léo Lam
328354f857
ksys/evt: Implement eventFlowAlloc/Free
2021-06-17 23:52:28 +02:00
Léo Lam
357ef77879
ksys/evt: Add ResourceTimeline
2021-06-17 23:42:21 +02:00
Léo Lam
92388bad74
ksys/evt: Add ResourceFlowchart
2021-06-17 19:08:45 +02:00
Léo Lam
4014329dc2
ksys: Add EventFlowBinder
2021-06-17 12:01:18 +02:00
Léo Lam
1f628bb94a
ksys/evt: Implement ActorBindings
2021-06-17 02:15:26 +02:00
Léo Lam
0d0826f71b
Fix lint issue
2021-06-16 23:40:18 +02:00
Léo Lam
ae60e06e4b
ksys/evt: Add ActorBinding
2021-06-16 23:37:29 +02:00
Léo Lam
4b0a72025c
ksys/evt: Add DemoInfo
2021-06-16 11:14:57 +02:00
Léo Lam
d862365b2f
ksys: Add DemoASLoader
2021-06-15 19:55:18 +02:00
Léo Lam
c81229dabf
ksys/res: Add Event resource classes
2021-06-15 18:33:15 +02:00
Léo Lam
7d8607f9e3
ksys: Move Demo class to Resource/Event/ to declutter Resource/
2021-06-15 18:09:58 +02:00
Léo Lam
dd0cc52ce9
ksys: Move ActorParam classes into separate folder to declutter Resource/
2021-06-15 18:04:39 +02:00
Léo Lam
61ce332003
ksys/res: Add AVOID_UB ifdef for bad memset in AnimInfo::parse_
2021-06-12 19:41:00 +02:00
Léo Lam
66ae62d4d1
lib: Update EventFlow
2021-05-24 20:42:50 +02:00
Léo Lam
0c73c0d670
ksys/eco: Implement LevelSensor::init
2021-05-19 15:38:37 +02:00
Léo Lam
8b1eb8819a
ksys/act: Finish ActorParam by adding updateResource
2021-05-18 00:44:53 +02:00
Léo Lam
8e0d05234f
ksys/act: Start adding LodInfo
2021-05-17 01:37:13 +02:00
Léo Lam
ac16843502
ksys/world: Remove unused variable
2021-05-16 22:33:14 +02:00
Léo Lam
47ae6e2b0b
ksys/world: Implement WorldMgr::onStageInit
2021-05-16 02:12:23 +02:00
Léo Lam
84b14bc8f2
ksys/world: Add more EnvMgr functions
2021-05-15 02:25:08 +02:00
Léo Lam
d090c3881b
ksys/world: Implement more EnvMgr blood moon functions
2021-05-13 17:23:05 +02:00
Léo Lam
3af5a55a65
ksys: Fix some VFR functions not being inline
2021-05-13 15:41:30 +02:00
Léo Lam
561e83b869
ksys/world: Implement EnvMgr::isWaterRelicRainOn
2021-05-13 12:42:06 +02:00
Léo Lam
2d5a3e7c93
ksys/world: Move defines to separate header
2021-05-13 12:03:40 +02:00
Léo Lam
333078a9f2
ksys/world: Start implementing EnvMgr
2021-05-13 00:11:13 +02:00
Léo Lam
8f6612e7db
ksys/world: Start implementing SkyMgr (ctor, dtor, etc.)
2021-05-10 17:35:25 +02:00
Léo Lam
5cb3c9d8b2
ksys/world: Rename CloudMgr to SkyMgr
2021-05-09 17:50:22 +02:00
Léo Lam
a92ca1d073
ksys/world: Rename SkyMgr to EnvMgr
...
EnvPalettes and other Env stuff are handled by this manager.
Cloud/sky properties are handled by "CloudMgr" (which will be
renamed to SkyMgr) instead.
2021-05-09 17:48:22 +02:00
Léo Lam
1fb3ae9368
ksys: Add BasicProfiler
2021-05-09 15:17:11 +02:00
Léo Lam
7c30d3f6e5
ksys: Add CameraEditor
2021-05-09 15:09:40 +02:00
Léo Lam
2fef4f821e
lib: Update sead
2021-05-09 15:09:39 +02:00
Léo Lam
52c4ba1fc0
ksys: Add Revision
2021-05-09 12:12:42 +02:00
Léo Lam
b8eb5960ec
ksys/evt: Add getters to Metadata
2021-05-09 01:46:22 +02:00
Léo Lam
ebfab2209b
ksys/evt: Implement Metadata
2021-05-09 01:40:08 +02:00
Léo Lam
806395b2f1
ksys/world: Finish TimeMgr
2021-05-09 00:23:42 +02:00
Léo Lam
7bda72574e
ksys/world: Implement AnimalMasterController
2021-05-05 19:15:50 +02:00
Léo Lam
da65708ded
ksys/world: Implement more TimeMgr functions
2021-05-02 17:48:37 +02:00
Léo Lam
e5e2427c8b
ksys/world: Start adding TimeMgr
2021-05-02 01:29:52 +02:00
Léo Lam
461967e278
ksys/gdt: Move FlagHandle to separate header
...
To avoid header bloat.
2021-05-02 00:22:59 +02:00
Léo Lam
9f6cdf69b4
ksys/world: Add and implement more WorldMgr functions
2021-05-01 14:48:45 +02:00
Léo Lam
5798b676fd
ksys/world: Add Job class stubs
2021-04-30 14:32:39 +02:00
Léo Lam
b39e0e5be3
ksys/world: Start implementing WorldMgr
2021-04-30 11:47:13 +02:00
Léo Lam
34c85c322e
ksys/world: Fix WorldInfo, DungeonEnv, Manager structs
2021-04-29 02:37:46 +02:00
Léo Lam
92ed3dbddb
ksys/res: Implement register/unregisterFactory
2021-04-26 18:25:25 +02:00
Léo Lam
f8d110ce28
ksys/frm: Remove unused enum
2021-04-26 18:20:27 +02:00
Léo Lam
927c757345
ksys/frm: Implement WorkerSupportThreadMgr
2021-04-26 17:56:01 +02:00
Léo Lam
caa3dcf548
ksys/xlink: Add InfoData
2021-04-26 14:47:12 +02:00
Léo Lam
f365c0b591
ksys/eft: Fix formatting issue
2021-04-26 14:27:54 +02:00
Léo Lam
450f559602
ksys/eft: Add InfoData
2021-04-26 14:27:18 +02:00
Léo Lam
b493f4cb5c
ksys/snd: Add snd::InfoData
2021-04-26 14:17:48 +02:00
Léo Lam
a500ebc6a4
ksys/res: Implement AttClient
2021-04-26 12:41:20 +02:00
Léo Lam
33b2c46594
ksys/res: Start implementing AttClient
2021-04-25 17:03:28 +02:00
Léo Lam
edcfc9b7ab
ksys/res: Move AttPos to separate translation unit
2021-04-25 14:38:39 +02:00
Léo Lam
ba05fa5165
ksys/res: Remove obsolete TODO in BoneControl
2021-04-25 02:00:02 +02:00
Léo Lam
6deecbee61
ksys/phys: Add isSensorLayer and makeContactLayerMask
2021-04-24 11:18:14 +02:00
Léo Lam
c6630576bb
Simplify agl::utl::IParameterObj::applyResParameterObj calls
2021-04-23 19:45:14 +02:00
Léo Lam
97e9bad1af
ksys/res: Remove redundant static keyword
2021-04-23 19:40:59 +02:00
Léo Lam
f98b6b0dba
ksys/res: Start adding AttCheck
...
Most of the check() functions are unimplemented because they require
doing more physics/collision stuff.
2021-04-23 19:16:18 +02:00
Léo Lam
6518fe5c73
ksys/act: Move Attention source files to a separate folder
2021-04-23 14:54:10 +02:00
Léo Lam
ce1868fd62
ksys: Fix missing include for std::memcpy in ParamIO
2021-04-23 14:23:51 +02:00
Léo Lam
3699e85f8e
ksys: Finish implementing ParamIO
2021-04-23 13:28:32 +02:00
Léo Lam
201d2ff06f
ksys/act: Finish implementing ActorParamMgr
2021-04-23 12:53:04 +02:00
Léo Lam
52196c4b75
ksys/res: Fix EntryFactory using value initialisation when new'ing
...
This causes an extra memset to be issued in some cases.
2021-04-23 12:51:10 +02:00
Léo Lam
2015796b80
ksys: Fix signature of KingEditorComponent::syncData
...
The buffer needs to be mutable. ActorParamMgr modifies it for example
2021-04-22 23:39:46 +02:00
Léo Lam
e631e0dc2b
ksys/res: Declare more AttClientList virtual functions
2021-04-22 22:48:08 +02:00
Léo Lam
136f20427d
ksys/phys: Implement ParamSet and res::Physics
2021-04-22 19:37:58 +02:00
Léo Lam
f6e4643808
ksys/phys: Add RigidBodySetParam
2021-04-22 18:39:28 +02:00
Léo Lam
cbe711e595
ksys/phys: Add RigidBodyParam
2021-04-22 18:21:36 +02:00
Léo Lam
b687a50f46
ksys/phys: Remove obsolete comment
2021-04-22 01:32:27 +02:00
Léo Lam
dd705aea99
ksys/phys: Add CharacterControllerParam
2021-04-22 01:18:45 +02:00
Léo Lam
1631e2aae3
ksys/phys: Add ContactInfoParam
2021-04-21 18:49:25 +02:00
Léo Lam
f59bc21b3a
ksys/phys: Add ShapeParam
2021-04-21 18:20:18 +02:00
Léo Lam
502df1d149
ksys/res: Update DamageParam for seadEnum change
2021-04-21 17:42:33 +02:00
Léo Lam
f9d6eedc9f
ksys/phys: Start adding physics parameter structs
...
* SupportBoneParam
* RagdollParam
* ClothSetParam, ClothSubWindParam, ClothParam
* EdgeRigidBodySetParam, EdgeRigidBody
* ParamSet (only the header for now)
2021-04-21 13:02:00 +02:00
Léo Lam
63472349c7
ksys/res: Implement AISchedule
2021-04-20 18:55:03 +02:00
Léo Lam
441a0e5240
ksys/res: Implement RagdollBlendWeight
2021-04-20 18:40:09 +02:00
Léo Lam
92c7645e70
ksys/res: Implement RagdollConfigList
2021-04-20 16:31:21 +02:00
Léo Lam
2e966d034c
ksys: Fix matching issue in _ZN4ksys4phys13RagdollConfig15PartImpulseInfoC1Ev (missing external constants)
2021-04-20 15:02:46 +02:00
Léo Lam
c95a79bbc1
Rename aoc2 to HardModeManager
...
It seems to have been called HardModeManager according to a leftover
context name for loading Aoc/0010/Ecosystem/HardMode.byml
(which also doesn't exist anymore).
2021-04-20 12:08:07 +02:00
Léo Lam
3fc1957cc2
ksys/res: Implement RagdollConfig
2021-04-14 20:03:11 +02:00
Léo Lam
3a7b4df04c
ksys/phys: Add RagdollConfig
2021-04-14 19:27:41 +02:00
Léo Lam
dd4f0a6ac4
Remove obsolete comment
2021-04-14 12:28:47 +02:00
Léo Lam
6e08ff5029
ksys/res: Implement AS
2021-04-14 00:45:59 +02:00
Léo Lam
49a96d9e62
ksys/res: Start implementing ASResource classes
2021-04-13 18:34:46 +02:00
Léo Lam
d253711d1b
Fix formatting issues
2021-04-11 16:10:22 +02:00
Léo Lam
7363712865
ksys/res: Finish implementing ASExtensions
2021-04-11 15:54:21 +02:00
Léo Lam
9846d6fef9
ksys/res: Implement remaining AS param parser classes
2021-04-11 12:28:40 +02:00
Léo Lam
1a5d9aba68
Fix matching issue in _ZN4ksys3res9ASSetting10BoneParams5parseERKNS0_13ASParamParser9ParseArgsE
2021-04-11 00:50:23 +02:00
Léo Lam
e9184e2e41
ksys/res: Implement BoneParams::getBoneWeight
2021-04-10 22:45:51 +02:00