Commit Graph

1500 Commits

Author SHA1 Message Date
Léo Lam 6723cd5a5c
Improve rebuild times by removing unnecessary includes in AI headers 2022-12-22 14:35:08 +01:00
Léo Lam 2616802996
ksys/act: Clean up RootAiFlag/RootAiFlag2 definitions and usage 2022-12-22 14:35:08 +01:00
Léo Lam 4df2370639
lib: Update sead 2022-12-22 14:35:08 +01:00
Léo Lam 25427f1b4c
ksys/phys: Add RagdollController (the real one, not RagdollInstance) 2022-12-21 12:25:49 +01:00
Léo Lam 3fc168ab99
Update tools 2022-12-21 01:25:26 +01:00
Léo Lam 27ef71eff7
ksys/phys: Rename RagdollController to RagdollInstance
RagdollController is a different thing!
2022-12-20 19:23:54 +01:00
Léo Lam d1d4bf3c29
lib: Update NintendoSDK 2022-12-20 18:35:33 +01:00
Léo Lam 08ccaf9c3c
ksys/phys: Add RagdollController::getTransform and more
Credit to @Dragorn421 for helping me figure out the rotation matrix
thing in the getTransform function
2022-12-20 16:27:40 +01:00
Léo Lam faf29549c6
clang-tidy: Relax member name check (for AI parameter variables) 2022-12-20 15:13:34 +01:00
Léo Lam e9790f83eb
lib: Update sead 2022-12-20 01:58:44 +01:00
Léo Lam c0c1db9b36
Update tools 2022-12-20 01:40:34 +01:00
Léo Lam a217abe647
ksys/phys: Improve RagdollController::setUnk1 match
https://discord.com/channels/688807550715560050/745633101157498880/1054479382892249119

[20:24]TheGreatB3: The Wii U version sets the fields to zero if the value is less than zero, so I think it's really using clamp.
2022-12-19 20:39:15 +01:00
Léo Lam 8c9a316c5b
ksys/phys: Match RagdollController::setUnk1 2022-12-19 13:21:19 +01:00
ThePixelCoder 4275779f8a
Handle nn::gfx merge (#108)
* Fix build and document nn::gfx merge

* Update submodules and some extra labelling in csv

* Fix various issues

* Make versioning more flexible
2022-12-19 13:12:15 +01:00
Léo Lam b4e6a4dac9
ksys/phys: Implement the rest of the easy RagdollController functions 2022-12-19 02:09:22 +01:00
Léo Lam 50464f7435
Havok: Fix warnings in hkpConstraintInstance 2022-12-19 00:28:45 +01:00
Léo Lam bdd2015a08
ksys/phys: Implement more RagdollController functions 2022-12-19 00:07:21 +01:00
Léo Lam 20be3a197a
ksys/phys: Clarify EntityCollisionMask structure and names 2022-12-18 18:58:23 +01:00
Léo Lam 30368facc0
ksys/phys: Finish RagdollRigidBody and add more RagdollController functions 2022-12-18 01:24:44 +01:00
Léo Lam 7934e14ad6
ksys/phys: Use named bools in RigidBody to improve call site readability 2022-12-17 22:10:38 +01:00
Léo Lam 294666ba13
clang-tidy: Disable misc-const-correctness
We want to give people the ability to exercise discretion in balancing
const correctness and readability.
2022-12-17 19:24:15 +01:00
Léo Lam 5a793566f3
Disable readability-make-member-function-const
It produces warnings in cases where we explicitly do *not* want to mark
a function as const even though it can be, because it is not
*logically* const.

This is something no automated tool will be able to detect so disable
the check to avoid spurious warnings.
2022-12-09 13:30:03 +01:00
Léo Lam 8dbd0d7839
Add a script to detect function overlaps in the CSV
Helps identify and fix function sizes in the function CSV
2022-12-04 11:56:32 +01:00
Léo Lam 965b45426c
data: Fix yet another function size 2022-12-04 11:54:59 +01:00
Léo Lam 924839b5df
data: Fix function size for 0x710090ab68 2022-12-03 20:04:55 +01:00
Léo Lam c3f17c97f8
tools: Update common 2022-12-01 20:30:59 +01:00
Léo Lam f7200a4b52
lib: Update EventFlow 2022-12-01 12:03:37 +01:00
Briggs Baltzell 1f2a38ec2a
Implement TeraMeshRigidBody class (#107) 2022-11-21 21:10:28 +01:00
Briggs Baltzell d38a6b546b
Implement ksys::phys::CharacterPrismShape class (#106) 2022-11-20 21:37:01 +01:00
Léo Lam 9a01a6a883
Merge pull request #105 from ecumber/master
Add NXArgs (#105)
2022-11-20 15:36:53 +01:00
ecumber 729a6291b6 Add NXArgs 2022-11-19 11:42:21 -08:00
Léo Lam 1d7ce82908
Link to new documentation website 2022-10-19 15:44:44 +02:00
notyourav 2f62d26424
Decompile some Action classes (#104)
* various action classes

* rename instanceset fns

* rename isFork -> isChangeable
2022-10-18 08:27:57 +02:00
Léo Lam bc6fe73df1
data: Fix typo in E3Mgr function name 2022-10-13 02:10:43 +02:00
Léo Lam 18510196d9
ksys: Refactor VFRVec3f::chase into reusable/inlinable function
Might be useful for https://decomp.me/scratch/n58lh
2022-10-13 01:58:10 +02:00
louist103 0bdc0c7611
Decompile most of E3mgr (#101) 2022-10-09 11:21:08 +02:00
Léo Lam c1d60be485
Mark new sead functions as matching 2022-08-28 00:41:05 +01:00
Léo Lam ff178f779b
ksys/phys: Remove useless include 2022-08-28 00:35:45 +01:00
Léo Lam 16e712b89d
Merge pull request #103 from leoetlino/sead-update
lib: Update sead
2022-08-28 00:21:43 +01:00
Léo Lam df9d3ce7ca
lib: Update sead 2022-08-28 00:18:12 +01:00
Léo Lam 67d9f07a6a
Merge pull request #102 from leoetlino/sead-update
lib: Update sead
2022-08-27 23:56:32 +01:00
Léo Lam 5c5079d939
lib: Update sead 2022-08-27 23:54:25 +01:00
savage13 42e87bb992
Added WeatherMgr::rollNewWeather (#100) 2022-08-08 11:35:44 +01:00
Léo Lam cef9c4a1b8
Merge pull request #98 from ecumber/master
Add VideoRecorder
2022-07-25 10:09:32 +01:00
ecumber 3034895d2f VideoRecorder added 2022-07-24 22:03:55 -07:00
Léo Lam 9d3bc8cfe1
ksys/phys: Start adding RagdollController 2022-07-01 20:34:20 +02:00
Léo Lam a58231b44a
IteratorUtil: Fix missing constexpr on getIndex() 2022-07-01 17:01:40 +02:00
Léo Lam 0912686d9b
IteratorUtil: Forward (non-reference) return types correctly
With auto&, an operator[] that returns a value (and not a reference)
would result in the proxy returning a reference to a local temporary,
which is UB
2022-07-01 17:01:40 +02:00
Léo Lam bd8b3dc61d
Add clang-tidy config to help enforce naming conventions 2022-06-30 16:36:10 +02:00
Léo Lam c93f454e25
lib: Update NintendoSDK 2022-06-30 16:36:10 +02:00