Commit Graph

773 Commits

Author SHA1 Message Date
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